edu.uci.ics.jung.graph.event
Class GraphEvent
java.lang.Object
java.util.EventObject
edu.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
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GraphEvent
public GraphEvent(ArchetypeGraph g,
UserDataContainer graphElement)
getGraphElement
public UserDataContainer getGraphElement()
getGraph
public ArchetypeGraph getGraph()
toString
public java.lang.String toString()