|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This class is a functional handler that is optionally invoked by the API as a callback when a node is dropped onto a visualsubgraph. Visualsubgraphs often like to customize their behavior when a node is dropped onto them.
| Method Summary | |
boolean |
nodeDrop(VisualNodeDropInfo info)
Callback that is invoked when a node-drop occurs. |
boolean |
showGroupDropHighlight(VisualNodeGroupDropHighlightInfo info)
Callback that is invoked when a highlight for a group-drop is about to be shown. |
| Method Detail |
public boolean nodeDrop(VisualNodeDropInfo info)
throws GraphException
info - an object that carries the information needed to handle the
node drop
false should be returned to indicate that a manipulation
was made in the callback implementation and that the API should not
make further adjustments.
GraphException - thrown by the callback to indicate that
the API should rollback the operation if possible. This behavior
cannot be guaranteed unfortunately.public boolean showGroupDropHighlight(VisualNodeGroupDropHighlightInfo info)
info - an object that carries the information needed to decide
whether to show a group-drop-highlight or not.
false>
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||