|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This class is a predicate callback that can be used to control what nested-edges the api may introduce or not.
A single instance of this interface can be added to each
toplevel VisualGraphView and
then control the creation of cross-edges.
| Method Summary | |
boolean |
preVisualEdgeCreate(VisualGraphView visualgraphview,
VisualNode source,
VisualNode target)
Callback method that returns a boolean value that indicates whether the desired connection of two nested VisualNodes
that are somewhere in the hierarchy is allowed or not. |
| Method Detail |
public boolean preVisualEdgeCreate(VisualGraphView visualgraphview,
VisualNode source,
VisualNode target)
VisualNodes
that are somewhere in the hierarchy is allowed or not.
visualgraphview - the toplevelview in which both
VisualNodes are currently added.source - the source VisualNode of the edge that is
about to be created.target - the target VisualNode of the edge that is
about to be created.
true if the connection is allowed, otherwise
false.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||