|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.event.NodeListenerAdapter
A convenience adapter-class for nodelisteners.
| Constructor Summary | |
NodeListenerAdapter()
Constructs a NodeListenerAdapter instance. |
|
| Method Summary | |
void |
nodeAddedToGraph(NodeEvent nodeevent)
This method is invoked on the listener if a Node was added to the
graph. |
void |
nodeRemovedFromGraph(NodeEvent nodeevent)
This method is invoked on the listener if a Node
was removed from the graph
# |
void |
portAddedToNode(NodeEvent nodeevent)
This method is invoked on the listener if a Port is added
to a
Node. |
void |
portRemovedFromNode(NodeEvent nodeevent)
This method is invoked on the listener if a Port is removed
from a
Node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NodeListenerAdapter()
NodeListenerAdapter instance.
| Method Detail |
public void nodeAddedToGraph(NodeEvent nodeevent)
NodeListenerNode was added to the
graph.
nodeAddedToGraph in interface NodeListenernodeevent - the event structure that carries details about
the event.public void nodeRemovedFromGraph(NodeEvent nodeevent)
NodeListenerNode
was removed from the graph
#
nodeRemovedFromGraph in interface NodeListenernodeevent - the event structure that carries details about
the event.public void portAddedToNode(NodeEvent nodeevent)
NodeListenerPort is added
to a
Node.
portAddedToNode in interface NodeListenernodeevent - the event structure that carries details about
the event.public void portRemovedFromNode(NodeEvent nodeevent)
NodeListenerPort is removed
from a
Node.
portRemovedFromNode in interface NodeListenernodeevent - the event structure that carries details about
the event.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||