org.tigris.gef.graph
Class MutableGraphEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.tigris.gef.graph.MutableGraphEvent
All Implemented Interfaces:
java.io.Serializable

public class MutableGraphEvent
extends java.util.EventObject

A notification that a graph has changed. The source is the object that implements MutableGraphModel. 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
MutableGraphEvent(java.lang.Object src)
           
MutableGraphEvent(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

MutableGraphEvent

public MutableGraphEvent(java.lang.Object src)

MutableGraphEvent

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

getArg

public java.lang.Object getArg()