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

java.lang.Object
  extended by java.util.EventObject
      extended by 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

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

Constructor Detail

GraphEvent

public GraphEvent(ArchetypeGraph g,
                  Element graphElement)
Method Detail

getGraphElement

public Element getGraphElement()

getGraph

public ArchetypeGraph getGraph()

toString

public String toString()
Overrides:
toString in class EventObject