Class GraphEvent

  extended by java.util.EventObject
      extended by org.tigris.gef.graph.GraphEvent
All Implemented Interfaces:

public class GraphEvent
extends java.util.EventObject

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
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

Field Detail


protected java.lang.Object _arg
The specific node, port, or arc that was modified.

Constructor Detail


public GraphEvent(java.lang.Object src)


public GraphEvent(java.lang.Object src,
                  java.lang.Object arg)
Method Detail


public java.lang.Object getArg()