uci.graph
Class GraphEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--uci.graph.GraphEvent

public class GraphEvent
extends EventObject
implements 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  Object _arg
          The specific node, port, or arc that was modified.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GraphEvent(Object src)
           
GraphEvent(Object src, Object arg)
           
 
Method Summary
 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 Object _arg
The specific node, port, or arc that was modified.
Constructor Detail

GraphEvent

public GraphEvent(Object src)

GraphEvent

public GraphEvent(Object src,
                  Object arg)
Method Detail

getArg

public Object getArg()