|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--y.view.ViewMode
|
+--y.view.CreateEdgeMode
|
+--y.view.hierarchy.HierarchyCreateEdgeMode
A specialized CreateEdgeMode suitable for graphs that contain groups nodes.
| Field Summary |
| Fields inherited from class y.view.ViewMode |
lastClickEvent, lastDragEvent, lastPressEvent, lastReleaseEvent, originalX, originalY, view |
| Constructor Summary | |
HierarchyCreateEdgeMode()
|
|
| Method Summary | |
protected boolean |
acceptBend(Node start,
Node hitNode,
double x,
double y)
Apart from the default behaviour, also accept a bend if its coordinate lies within the inner region of a group node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HierarchyCreateEdgeMode()
| Method Detail |
protected boolean acceptBend(Node start,
Node hitNode,
double x,
double y)
acceptBend in class CreateEdgeModestart - the node from where edge creation startedhitNode - the node that was hit at the given locationx - the x-coordinate of the current locationy - the y-coordinate of the current location
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||