org.tigris.gef.graph
Class GraphEvent
java.lang.Object
java.util.EventObject
org.tigris.gef.graph.GraphEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class GraphEvent
- extends java.util.EventObject
- implements java.io.Serializable
A notification that a graph has changed. The source is the object
that implements GraphModel. The argument is the specific
node or edge that was involved when a node or edge is added or
removed. The argument is null if the entire graph changed.
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Object |
_arg
The specific node, port, or arc that was modified. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
GraphEvent(java.lang.Object src)
|
GraphEvent(java.lang.Object src,
java.lang.Object arg)
|
Method Summary |
java.lang.Object |
getArg()
|
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_arg
protected java.lang.Object _arg
- The specific node, port, or arc that was modified.
GraphEvent
public GraphEvent(java.lang.Object src)
GraphEvent
public GraphEvent(java.lang.Object src,
java.lang.Object arg)
getArg
public java.lang.Object getArg()