|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.event.VisualGraphAdapter
A convenience adapter-class for VisualGraphListener
implementations.
| Constructor Summary | |
VisualGraphAdapter()
Constructs a new VisualGraphAdapter instance. |
|
| Method Summary | |
void |
isolatedVisualEdgeAdded(VisualGraphEvent event)
An isolated VisualEdge was added to the VisualGraph. |
void |
isolatedVisualEdgeRemoved(VisualGraphEvent event)
An isolated VisualEdge was removed from the
VisualGraph. |
void |
layout(VisualGraphEvent visualgraphevent)
The structure of the VisualGraph has changed by an action
on the graph, so that the current layout of the graph has to be applied.
|
void |
visualEdgeAdded(VisualGraphEvent event)
A VisualEdge was added to the VisualGraph. |
void |
visualEdgeAttachRejected(VisualGraphEvent visualgraphevent)
An attachment of a VisualEdge was rejected by the graph.
|
void |
visualEdgeRemoved(VisualGraphEvent event)
A VisualEdge was removed from the VisualGraph. |
void |
visualEdgeSplit(VisualGraphEvent visualgraphevent)
An edge-split was performed. |
void |
visualNodeAdded(VisualGraphEvent event)
A VisualNode was added to the VisualGraph. |
void |
visualNodeDeleteEdgeCascade(VisualGraphEvent visualgraphevent)
An edge-cascade was performed. |
void |
visualNodeRemoved(VisualGraphEvent event)
A VisualNode was added to the VisualGraph. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VisualGraphAdapter()
VisualGraphAdapter instance.
| Method Detail |
public void visualNodeAdded(VisualGraphEvent event)
VisualGraphListenerVisualNode was added to the VisualGraph.
visualNodeAdded in interface VisualGraphListenerevent - the VisualGraphEvent
structure that contains the event information.public void visualNodeRemoved(VisualGraphEvent event)
VisualGraphListenerVisualNode was added to the VisualGraph.
visualNodeRemoved in interface VisualGraphListenerevent - the VisualGraphEvent
structure that contains the event information.public void visualEdgeAdded(VisualGraphEvent event)
VisualGraphListenerVisualEdge was added to the VisualGraph.
visualEdgeAdded in interface VisualGraphListenerevent - the VisualGraphEvent structure
that contains the event information.public void visualEdgeRemoved(VisualGraphEvent event)
VisualGraphListenerVisualEdge was removed from the VisualGraph.
visualEdgeRemoved in interface VisualGraphListenerevent - the VisualGraphEvent structure
that contains the event information.public void isolatedVisualEdgeAdded(VisualGraphEvent event)
VisualGraphListenerVisualEdge was added to the VisualGraph.
isolatedVisualEdgeAdded in interface VisualGraphListenerevent - the VisualGraphEvent structure
that contains the event information.public void isolatedVisualEdgeRemoved(VisualGraphEvent event)
VisualGraphListenerVisualEdge was removed from the
VisualGraph.
isolatedVisualEdgeRemoved in interface VisualGraphListenerevent - the VisualGraphEvent structure
that contains the event information.public void visualEdgeAttachRejected(VisualGraphEvent visualgraphevent)
VisualGraphListenerVisualEdge was rejected by the graph.
This event is thrown to indicate that an edge could not be added
if the library chooses to do so in certain contexts. If it however not
thrown in all cases when a VisualEdge cannot be added.
If for example an already added VisualEdge is added, this
event is not thrown.
visualEdgeAttachRejected in interface VisualGraphListenervisualgraphevent - the VisualGraphEvent structure
that contains the event information.public void layout(VisualGraphEvent visualgraphevent)
VisualGraphListenerVisualGraph has changed by an action
on the graph, so that the current layout of the graph has to be applied.
Note: programmatically changes like node insertion might not invoke
this callback
layout in interface VisualGraphListenervisualgraphevent - the VisualGraphEvent structure that
contains the event information.public void visualEdgeSplit(VisualGraphEvent visualgraphevent)
VisualGraphListener
visualEdgeSplit in interface VisualGraphListenervisualgraphevent - the VisualGraphEvent structure that
contains the event information.public void visualNodeDeleteEdgeCascade(VisualGraphEvent visualgraphevent)
VisualGraphListener
visualNodeDeleteEdgeCascade in interface VisualGraphListenervisualgraphevent - the VisualGraphEvent structure that
contains the event information.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||