|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.generic.event.EventMultiplexer
com.tensegrity.graph.event.GraphEventMultiplexer
Multiplexer for graphevents.
| Constructor Summary | |
GraphEventMultiplexer(EventListenerTag a,
EventListenerTag b)
Constructs a new GraphEventMultiplexer instance
with the given children. |
|
| Method Summary | |
static EventListenerTag |
combine(EventListenerTag a,
EventListenerTag b)
Combines two given eventlisteners to a new eventlistener. |
void |
edgeAdded(GraphEvent graphevent)
Invoked after an edge was added to the graph. |
void |
edgeAddedToGraph(EdgeEvent edgeevent)
This method is invoked on the listener if an Edge
was added to the graph. |
void |
edgeAttachRejected(GraphEvent graphevent)
An attachment of an edge was rejected by the graph. |
void |
edgePreAdd(GraphEvent graphevent)
Invoked when an edge is about to be added to a graph. |
void |
edgePreRemove(GraphEvent graphevent)
Invoked when an edge is about to be removed from a graph. |
void |
edgePreSplit(GraphEvent graphevent)
An edge is about to be split split and then would be replaced by two new edges. |
void |
edgeRemoved(GraphEvent graphevent)
Invoked after an edge was removed from the graph. |
void |
edgeRemovedFromGraph(EdgeEvent edgeevent)
This method is invoked on the listener if an Edge
was removed from the graph. |
void |
edgeSplit(GraphEvent graphevent)
An edge was split and replaced by two new edges. |
void |
isolatedVisualEdgeAdded(VisualEdgeEvent event)
This method is invoked when an isolated VisualEdge is added. |
void |
isolatedVisualEdgeAdded(VisualGraphEvent visualgraphevent)
An isolated VisualEdge was added to the VisualGraph. |
void |
isolatedVisualEdgeRemoved(VisualEdgeEvent event)
This method is invoked when an isolated VisualEdge is removed. |
void |
isolatedVisualEdgeRemoved(VisualGraphEvent visualgraphevent)
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.
|
static EdgeListener |
multiplex(EdgeListener a,
EdgeListener b)
Multiplexes an EdgeListener. |
static GraphListener |
multiplex(GraphListener a,
GraphListener b)
Combines the two given listeners. |
static NodeListener |
multiplex(NodeListener a,
NodeListener b)
Multiplexes a NodeListener. |
static VetoableGraphListener |
multiplex(VetoableGraphListener a,
VetoableGraphListener b)
Multiplexes a VetoableGraphListener. |
static VetoableVisualGraphListener |
multiplex(VetoableVisualGraphListener a,
VetoableVisualGraphListener b)
Multiplexes an VetoableVisualGraphListener. |
static VisualEdgeListener |
multiplex(VisualEdgeListener a,
VisualEdgeListener b)
Multiplexes a VisualEdgeListener. |
static VisualGraphListener |
multiplex(VisualGraphListener a,
VisualGraphListener b)
Multiplexes a VisualGraphListener. |
static VisualNodeListener |
multiplex(VisualNodeListener a,
VisualNodeListener b)
Multiplexes an VisualNodeListener. |
void |
nodeAdded(GraphEvent graphevent)
Invoked after a node was added to the graph. |
void |
nodeAddedToGraph(NodeEvent nodeevent)
This method is invoked on the listener if a Node was added to the
graph. |
void |
nodeDeleteEdgeCascade(GraphEvent graphevent)
A node with indegree = outdegree = 1 was deleted and the adjacent edges are deleted as well. |
void |
nodePreAdd(GraphEvent graphevent)
Invoked when a node is about to be added to a graph. |
void |
nodePreDeleteEdgeCascade(GraphEvent graphevent)
A node with indegree = outdegree = 1 is about to be deleted and the adjacent edges will be deleted as well. |
void |
nodePreRemove(GraphEvent graphevent)
Invoked when a node is about to be removed from a graph. |
void |
nodeRemoved(GraphEvent graphevent)
Invoked after a node was removed from 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. |
EventListenerTag |
separate(EventListenerTag listener)
Internal helper for separation. |
static EventListenerTag |
separate(EventListenerTag a,
EventListenerTag b)
Separates the eventlistener b from the eventlistener
a and returns the eventlistener structure. |
static EdgeListener |
unmultiplex(EdgeListener a,
EdgeListener b)
Unmultiplexes an EdgeListener. |
static GraphListener |
unmultiplex(GraphListener a,
GraphListener b)
Separates the eventlistener b from the eventlistener
a and returns the eventlistener structure. |
static NodeListener |
unmultiplex(NodeListener a,
NodeListener b)
Unmultiplexes a NodeListener. |
static VetoableGraphListener |
unmultiplex(VetoableGraphListener a,
VetoableGraphListener b)
Unmultiplexes a VetoableGraphListener. |
static VetoableVisualGraphListener |
unmultiplex(VetoableVisualGraphListener a,
VetoableVisualGraphListener b)
Unmultiplexes an VetoableVisualGraphListener. |
static VisualEdgeListener |
unmultiplex(VisualEdgeListener a,
VisualEdgeListener b)
Unmultiplexes a VisualEdgeListener. |
static VisualGraphListener |
unmultiplex(VisualGraphListener a,
VisualGraphListener b)
Unmultiplexes a VisualGraphListener. |
static VisualNodeListener |
unmultiplex(VisualNodeListener a,
VisualNodeListener b)
Unmultiplexes an VisualNodeListener. |
void |
vetoableEdgePreAdd(GraphEvent graphevent)
This mehtod is called when an Edge is about to be added to a
Graph. |
void |
vetoableEdgePreRemove(GraphEvent graphevent)
This method is called when an Edge is about to be removed
from a Graph. |
void |
vetoableEdgePreSplit(GraphEvent graphevent)
This method is called when an Edge is about to be split
by a node.
|
void |
vetoableIsolatedVisualEdgePreAdd(VisualGraphEvent visualgraphevent)
This mehtod is called when an isolated VisualEdge is about
to be added to a VisualGraph. |
void |
vetoableIsolatedVisualEdgePreRemove(VisualGraphEvent visualgraphevent)
This method is called when an isolated VisualEdge is about
to be removed from a VisualGraph. |
void |
vetoableNodePreAdd(GraphEvent graphevent)
This method is called when a Node is about to be added to a
Graph. |
void |
vetoableNodePreDeleteEdgeCascade(GraphEvent graphevent)
This method is called when an Node is about to delete, which
will is connected by two edges that will be automatically merged into
a single edge.
|
void |
vetoableNodePreRemove(GraphEvent graphevent)
This method is called when a Node is about to be removed
from a Graph. |
void |
vetoableVisualEdgePreAdd(VisualGraphEvent visualgraphevent)
This mehtod is called when an VisualEdge is about to be
added to a VisualGraph. |
void |
vetoableVisualEdgePreRemove(VisualGraphEvent visualgraphevent)
This method is called when an VisualEdge is about to be
removed from a VisualGraph. |
void |
vetoableVisualNodePreAdd(VisualGraphEvent visualgraphevent)
This method is called when a VisualNode is about to be added
to a VisualGraph. |
void |
vetoableVisualNodePreRemove(VisualGraphEvent visualgraphevent)
This method is called when a VisualNode is about to be
removed from a VisualGraph. |
void |
visualEdgeAdded(VisualEdgeEvent event)
This method is invoked when a VisualEdge is added. |
void |
visualEdgeAdded(VisualGraphEvent visualgraphevent)
A VisualEdge was added to the VisualGraph. |
void |
visualEdgeAttachRejected(VisualGraphEvent visualgraphevent)
An attachment of a VisualEdge was rejected by the graph.
|
void |
visualEdgeRemoved(VisualEdgeEvent event)
This method is invoked when a VisualEdge is removed. |
void |
visualEdgeRemoved(VisualGraphEvent visualgraphevent)
A VisualEdge was removed from the VisualGraph. |
void |
visualEdgeSplit(VisualGraphEvent visualgraphevent)
An edge-split was performed. |
void |
visualNodeAdded(VisualGraphEvent visualgraphevent)
A VisualNode was added to the VisualGraph. |
void |
visualNodeAdded(VisualNodeEvent event)
This method is invoked when a VisualNode is added. |
void |
visualNodeDeleteEdgeCascade(VisualGraphEvent visualgraphevent)
An edge-cascade was performed. |
void |
visualNodeRemoved(VisualGraphEvent visualgraphevent)
A VisualNode was added to the VisualGraph. |
void |
visualNodeRemoved(VisualNodeEvent event)
This method is invoked when a VisualNode is removed. |
void |
visualPortAdded(VisualNodeEvent event)
This method is invoked on the listener if a VisualPort is added
to a
VisualNode. |
void |
visualPortRemoved(VisualNodeEvent event)
This method is invoked on the listener if a VisualPort is removed
from a
VisualNode. |
| Methods inherited from class com.tensegrity.generic.event.EventMultiplexer |
a, b, countEventListeners, listenersToArrayList, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GraphEventMultiplexer(EventListenerTag a,
EventListenerTag b)
GraphEventMultiplexer instance
with the given children.
a - first child multiplexer.b - second child multiplexer.| Method Detail |
public static EventListenerTag combine(EventListenerTag a,
EventListenerTag b)
a - the first eventlistener to combine.b - the second eventlistener to combine.
public static EventListenerTag separate(EventListenerTag a,
EventListenerTag b)
b from the eventlistener
a and returns the eventlistener structure.
a - the first eventlistener to separateb - the second eventlistener to separate.
a.public EventListenerTag separate(EventListenerTag listener)
listener - the listener to discard.
public static GraphListener multiplex(GraphListener a,
GraphListener b)
a - the first listener to combine.b - the first listener to combine.
This argument may not be null.
public static GraphListener unmultiplex(GraphListener a,
GraphListener b)
b from the eventlistener
a and returns the eventlistener structure.
a - the first eventlistener to separateb - the second eventlistener to separate.
This argument may not be null.
a.public void nodePreAdd(GraphEvent graphevent)
GraphListener
nodePreAdd in interface GraphListenerpublic void nodePreRemove(GraphEvent graphevent)
GraphListener
nodePreRemove in interface GraphListenergraphevent - the structure carrying graphevent information.public void nodeAdded(GraphEvent graphevent)
GraphListener
nodeAdded in interface GraphListenergraphevent - the graphevent structure carrying graphevent information.public void nodeRemoved(GraphEvent graphevent)
GraphListener
nodeRemoved in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgePreAdd(GraphEvent graphevent)
GraphListener
edgePreAdd in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgePreRemove(GraphEvent graphevent)
GraphListener
edgePreRemove in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgeAdded(GraphEvent graphevent)
GraphListener
edgeAdded in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgeRemoved(GraphEvent graphevent)
GraphListener
edgeRemoved in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgeAttachRejected(GraphEvent graphevent)
GraphListener
edgeAttachRejected in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgePreSplit(GraphEvent graphevent)
GraphListener
edgePreSplit in interface GraphListenergraphevent - the structure carrying graphevent information.public void edgeSplit(GraphEvent graphevent)
GraphListener
edgeSplit in interface GraphListenergraphevent - the structure carrying graphevent information.
public static VetoableGraphListener multiplex(VetoableGraphListener a,
VetoableGraphListener b)
VetoableGraphListener.
a - the first VetoableGraphListener to multiplex.b - the second VetoableGraphListener to multiplex.
public static VetoableGraphListener unmultiplex(VetoableGraphListener a,
VetoableGraphListener b)
VetoableGraphListener.
a - the first VetoableGraphListener to unmultiplex.b - the second VetoableGraphListener to unmultiplex.
public void vetoableNodePreAdd(GraphEvent graphevent)
throws GraphEventVetoException
VetoableGraphListenerNode is about to be added to a
Graph.GraphEventVetoException the
event will be veto'd and the corresponding action will not be completed.
vetoableNodePreAdd in interface VetoableGraphListenergraphevent - the GraphEvent structure carrying event
information.
GraphEventVetoException - that indicates the
GraphEvent is not desired.
public void vetoableNodePreRemove(GraphEvent graphevent)
throws GraphEventVetoException
VetoableGraphListenerNode is about to be removed
from a Graph.GraphEventVetoException the
event will be veto'd and the corresponding action will not be completed.
vetoableNodePreRemove in interface VetoableGraphListenergraphevent - the GraphEvent structure carrying event
information.
GraphEventVetoException - that indicates the
GraphEvent is not desired.
public void vetoableEdgePreAdd(GraphEvent graphevent)
throws GraphEventVetoException
VetoableGraphListenerEdge is about to be added to a
Graph.GraphEventVetoException the
event will be veto'd and the corresponding action will not be completed.
vetoableEdgePreAdd in interface VetoableGraphListenergraphevent - the GraphEvent structure carrying event
information.
GraphEventVetoException - that indicates the
GraphEvent is not desired.
public void vetoableEdgePreRemove(GraphEvent graphevent)
throws GraphEventVetoException
VetoableGraphListenerEdge is about to be removed
from a Graph.GraphEventVetoException the
event will be veto'd and the corresponding action will not be completed.
vetoableEdgePreRemove in interface VetoableGraphListenergraphevent - the GraphEvent structure carrying event
information.
GraphEventVetoException - that indicates the
GraphEvent is not desired.
public void vetoableEdgePreSplit(GraphEvent graphevent)
throws GraphEventVetoException
VetoableGraphListenerEdge is about to be split
by a node.
If the implementor throws a GraphEventVetoException the
event will be veto'd and the corresponding action will not be completed.
vetoableEdgePreSplit in interface VetoableGraphListenergraphevent - the GraphEvent structure carrying event
information.
GraphEventVetoException - that indicates the
GraphEvent is not desired.
public void vetoableNodePreDeleteEdgeCascade(GraphEvent graphevent)
throws GraphEventVetoException
VetoableGraphListenerNode is about to delete, which
will is connected by two edges that will be automatically merged into
a single edge.
If the implementor throws a GraphEventVetoException the
event will be veto'd and the corresponding action will not be completed.
vetoableNodePreDeleteEdgeCascade in interface VetoableGraphListenergraphevent - the GraphEvent structure carrying event
information.
GraphEventVetoException - that indicates the
GraphEvent is not desired.public void nodePreDeleteEdgeCascade(GraphEvent graphevent)
GraphListener
nodePreDeleteEdgeCascade in interface GraphListenergraphevent - the structure carrying graphevent information.public void nodeDeleteEdgeCascade(GraphEvent graphevent)
GraphListener
nodeDeleteEdgeCascade in interface GraphListenergraphevent - the structure carrying graphevent information.
public static NodeListener multiplex(NodeListener a,
NodeListener b)
NodeListener.
a - the first NodeListener to multiplex.b - the second NodeListener to multiplex.
public static NodeListener unmultiplex(NodeListener a,
NodeListener b)
NodeListener.
a - the first NodeListener to unmultiplex.b - the second NodeListener to unmultiplex.
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.
public static EdgeListener multiplex(EdgeListener a,
EdgeListener b)
EdgeListener.
a - the first EdgeListener to multiplex.b - the second EdgeListener to multiplex.
public static EdgeListener unmultiplex(EdgeListener a,
EdgeListener b)
EdgeListener.
a - the first EdgeListener to unmultiplex.b - the second EdgeListener to unmultiplex.
public void edgeAddedToGraph(EdgeEvent edgeevent)
EdgeListenerEdge
was added to the graph.
edgeAddedToGraph in interface EdgeListeneredgeevent - the event structure that carries details about
the event.public void edgeRemovedFromGraph(EdgeEvent edgeevent)
EdgeListenerEdge
was removed from the graph.
edgeRemovedFromGraph in interface EdgeListeneredgeevent - the event structure that carries details about
the event.
public static VisualGraphListener multiplex(VisualGraphListener a,
VisualGraphListener b)
VisualGraphListener.
a - the first VisualGraphListener to multiplex.b - the second VisualGraphListener to multiplex.
public static VisualGraphListener unmultiplex(VisualGraphListener a,
VisualGraphListener b)
VisualGraphListener.
a - the first VisualGraphListener to unmultiplex.b - the second VisualGraphListener to unmultiplex.
public void visualNodeAdded(VisualGraphEvent visualgraphevent)
VisualGraphListenerVisualNode was added to the VisualGraph.
visualNodeAdded in interface VisualGraphListenervisualgraphevent - the VisualGraphEvent
structure that contains the event information.public void visualNodeRemoved(VisualGraphEvent visualgraphevent)
VisualGraphListenerVisualNode was added to the VisualGraph.
visualNodeRemoved in interface VisualGraphListenervisualgraphevent - the VisualGraphEvent
structure that contains the event information.public void visualEdgeAdded(VisualGraphEvent visualgraphevent)
VisualGraphListenerVisualEdge was added to the VisualGraph.
visualEdgeAdded in interface VisualGraphListenervisualgraphevent - the VisualGraphEvent structure
that contains the event information.public void visualEdgeRemoved(VisualGraphEvent visualgraphevent)
VisualGraphListenerVisualEdge was removed from the VisualGraph.
visualEdgeRemoved in interface VisualGraphListenervisualgraphevent - the VisualGraphEvent structure
that contains the event information.public void isolatedVisualEdgeAdded(VisualGraphEvent visualgraphevent)
VisualGraphListenerVisualEdge was added to the VisualGraph.
isolatedVisualEdgeAdded in interface VisualGraphListenervisualgraphevent - the VisualGraphEvent structure
that contains the event information.public void isolatedVisualEdgeRemoved(VisualGraphEvent visualgraphevent)
VisualGraphListenerVisualEdge was removed from the
VisualGraph.
isolatedVisualEdgeRemoved in interface VisualGraphListenervisualgraphevent - 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.
public static VetoableVisualGraphListener multiplex(VetoableVisualGraphListener a,
VetoableVisualGraphListener b)
VetoableVisualGraphListener.
a - the first VetoableVisualGraphListener to multiplex.b - the second VetoableVisualGraphListener to multiplex.
public static VetoableVisualGraphListener unmultiplex(VetoableVisualGraphListener a,
VetoableVisualGraphListener b)
VetoableVisualGraphListener.
a - the first VetoableVisualGraphListener to unmultiplex.b - the second VetoableVisualGraphListener to unmultiplex.
public void vetoableVisualNodePreAdd(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VetoableVisualGraphListenerVisualNode is about to be added
to a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
vetoableVisualNodePreAdd in interface VetoableVisualGraphListenervisualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
public void vetoableVisualNodePreRemove(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VetoableVisualGraphListenerVisualNode is about to be
removed from a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
vetoableVisualNodePreRemove in interface VetoableVisualGraphListenervisualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
public void vetoableVisualEdgePreAdd(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VetoableVisualGraphListenerVisualEdge is about to be
added to a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
vetoableVisualEdgePreAdd in interface VetoableVisualGraphListenervisualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
public void vetoableVisualEdgePreRemove(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VetoableVisualGraphListenerVisualEdge is about to be
removed from a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
vetoableVisualEdgePreRemove in interface VetoableVisualGraphListenervisualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
public void vetoableIsolatedVisualEdgePreAdd(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VetoableVisualGraphListenerVisualEdge is about
to be added to a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
vetoableIsolatedVisualEdgePreAdd in interface VetoableVisualGraphListenervisualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
public void vetoableIsolatedVisualEdgePreRemove(VisualGraphEvent visualgraphevent)
throws VisualGraphEventVetoException
VetoableVisualGraphListenerVisualEdge is about
to be removed from a VisualGraph.VisualGraphEventVetoException
the event will be veto'd and the corresponding action will not be
completed.
vetoableIsolatedVisualEdgePreRemove in interface VetoableVisualGraphListenervisualgraphevent - the VisualGraphEvent structure
carrying event information.
VisualGraphEventVetoException - that indicates the
VisualGraphEvent is not desired.
public static VisualNodeListener multiplex(VisualNodeListener a,
VisualNodeListener b)
VisualNodeListener.
a - the first VisualNodeListener to multiplex.b - the second VisualNodeListener to multiplex.
public static VisualNodeListener unmultiplex(VisualNodeListener a,
VisualNodeListener b)
VisualNodeListener.
a - the first VisualNodeListener to unmultiplex.b - the second VisualNodeListener to unmultiplex.
public void visualNodeAdded(VisualNodeEvent event)
VisualNodeListenerVisualNode is added.
visualNodeAdded in interface VisualNodeListenerevent - the event structure carrying additional information.public void visualNodeRemoved(VisualNodeEvent event)
VisualNodeListenerVisualNode is removed.
visualNodeRemoved in interface VisualNodeListenerevent - the event structure carrying additional information.public void visualPortAdded(VisualNodeEvent event)
VisualNodeListenerVisualPort is added
to a
VisualNode.
visualPortAdded in interface VisualNodeListenerpublic void visualPortRemoved(VisualNodeEvent event)
VisualNodeListenerVisualPort is removed
from a
VisualNode.
visualPortRemoved in interface VisualNodeListenerevent - the structure that holds details about
the event.
public static VisualEdgeListener multiplex(VisualEdgeListener a,
VisualEdgeListener b)
VisualEdgeListener.
a - the first VisualEdgeListener to multiplex.b - the second VisualEdgeListener to multiplex.
public static VisualEdgeListener unmultiplex(VisualEdgeListener a,
VisualEdgeListener b)
VisualEdgeListener.
a - the first VisualEdgeListener to unmultiplex.b - the second VisualEdgeListener to unmultiplex.
public void visualEdgeAdded(VisualEdgeEvent event)
VisualEdgeListenerVisualEdge is added.
visualEdgeAdded in interface VisualEdgeListenerevent - the event structure carrying additional information.public void visualEdgeRemoved(VisualEdgeEvent event)
VisualEdgeListenerVisualEdge is removed.
visualEdgeRemoved in interface VisualEdgeListenerevent - the event structure carrying additional information.public void isolatedVisualEdgeAdded(VisualEdgeEvent event)
VisualEdgeListenerVisualEdge is added.
isolatedVisualEdgeAdded in interface VisualEdgeListenerevent - the event structure carrying additional information.public void isolatedVisualEdgeRemoved(VisualEdgeEvent event)
VisualEdgeListenerVisualEdge is removed.
isolatedVisualEdgeRemoved in interface VisualEdgeListenerevent - the event structure carrying additional information.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||