org.tigris.gef.graph
Class GraphEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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
 

Field Detail

_arg

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

Constructor Detail

GraphEvent

public GraphEvent(java.lang.Object src)

GraphEvent

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

getArg

public java.lang.Object getArg()