|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.view.InteractionControlAdapter
Interaction control. This class defines some standard values
for interaction control.
It is a default overridden class for the specification interface
InteractionControl.
InteractionControl,
Serialized Form| Constructor Summary | |
InteractionControlAdapter()
Constructs a InteractionControlAdapter instance. |
|
| Method Summary | |
boolean |
preAttachSource(VisualGraph visualgraph,
VisualEdge visualedge,
VisualPort newport)
This method is invoked as a callback before the source-end of VisualEdge is attached. |
boolean |
preAttachTarget(VisualGraph visualgraph,
VisualEdge visualedge,
VisualPort newport)
This method is invoked as a callback before the target-end of VisualEdge is attached. |
boolean |
preDetachSource(VisualGraph visualgraph,
VisualEdge visualedge)
This method is invoked as a callback before the source-end of VisualEdge is detached. |
boolean |
preDetachTarget(VisualGraph visualgraph,
VisualEdge visualedge)
This method is invoked as a callback before the target-end of VisualEdge is detached. |
boolean |
preDragVisualEdge(VisualGraph visualgraph,
VisualEdge visualedge)
This method is invoked as a callback before a VisualEdge is dragged. |
boolean |
preHighlightPort(VisualGraph visualgraph,
VisualPort visualport)
This method is invoked as a callback before a VisualPort
is highlighted. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public InteractionControlAdapter()
InteractionControlAdapter instance.
| Method Detail |
public boolean preDragVisualEdge(VisualGraph visualgraph,
VisualEdge visualedge)
InteractionControlVisualEdge is dragged.
preDragVisualEdge in interface InteractionControlvisualgraph - the VisualGraph in which the
interaction occured.visualedge - the VisualEdge that was dragged.
VisualGraph,
VisualEdge
public boolean preDetachSource(VisualGraph visualgraph,
VisualEdge visualedge)
InteractionControlVisualEdge is detached.
preDetachSource in interface InteractionControlvisualgraph - the VisualGraph in which the
interaction occured.visualedge - the VisualEdge that is being detached.
VisualGraph,
VisualEdge
public boolean preDetachTarget(VisualGraph visualgraph,
VisualEdge visualedge)
InteractionControlVisualEdge is detached.
preDetachTarget in interface InteractionControlvisualgraph - the VisualGraph in which the
interaction occured.visualedge - the VisualEdge that is being detached.
VisualGraph,
VisualEdge
public boolean preAttachSource(VisualGraph visualgraph,
VisualEdge visualedge,
VisualPort newport)
InteractionControlVisualEdge is attached.
preAttachSource in interface InteractionControlvisualgraph - the VisualGraph in which the
interaction occured.visualedge - the VisualEdge that is being attached.
VisualGraph,
VisualEdge,
VisualPort
public boolean preAttachTarget(VisualGraph visualgraph,
VisualEdge visualedge,
VisualPort newport)
InteractionControlVisualEdge is attached.
preAttachTarget in interface InteractionControlvisualgraph - the VisualGraph in which the
interaction occured.visualedge - the VisualEdge that is being attached.
VisualGraph,
VisualEdge,
VisualPort
public boolean preHighlightPort(VisualGraph visualgraph,
VisualPort visualport)
InteractionControlVisualPort
is highlighted.
preHighlightPort in interface InteractionControlvisualgraph - the VisualGraph in which the
interaction occured.
VisualGraph,
VisualEdge,
VisualPort
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||