edu.uci.ics.jung.graph.event
Class GraphEvent
java.lang.Object
java.util.EventObject
edu.uci.ics.jung.graph.event.GraphEvent
- All Implemented Interfaces:
- Serializable
public class GraphEvent
- extends 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
GraphEvent
public GraphEvent(ArchetypeGraph g,
Element graphElement)
getGraphElement
public Element getGraphElement()
getGraph
public ArchetypeGraph getGraph()
toString
public String toString()
- Overrides:
toString
in class EventObject