edu.uci.ics.jung.graph.event
Class GraphEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byedu.uci.ics.jung.graph.event.GraphEvent
All Implemented Interfaces:
java.io.Serializable

public class GraphEvent
extends java.util.EventObject

An event which indicates that a change in the graph structure has occurred. Every graph listener when notified of a change is passed a GraphEvent which contains a reference to the object (Node, Edge, or EventSequence) that was involved in the change as well as the graph whose structure was changed.

Author:
Scott White
See Also:
Serialized Form

Constructor Summary
GraphEvent(ArchetypeGraph g, UserDataContainer graphElement)
           
 
Method Summary
 ArchetypeGraph getGraph()
           
 UserDataContainer getGraphElement()
           
 java.lang.String toString()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GraphEvent

public GraphEvent(ArchetypeGraph g,
                  UserDataContainer graphElement)
Method Detail

getGraphElement

public UserDataContainer getGraphElement()

getGraph

public ArchetypeGraph getGraph()

toString

public java.lang.String toString()