com.jgraph.event
Class GraphModelEvent
java.lang.Object
java.util.EventObject
com.jgraph.event.GraphModelEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class GraphModelEvent
- extends java.util.EventObject
Encapsulates information describing changes to a graph model, and
is used to notify graph model listeners of the change.
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
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 |
change
protected GraphModelEvent.GraphModelChange change
- The object that consistutes the change.
GraphModelEvent
public GraphModelEvent(java.lang.Object source,
GraphModelEvent.GraphModelChange change)
- Used to create an event when cells have been changed, inserted, or
removed, identifying the change as a ModelChange object.
- Parameters:
source
- the Object responsible for generating the event (typically
the creator of the event object passes this
for its value)change
- the object that describes the change- See Also:
GraphCell
getChange
public GraphModelEvent.GraphModelChange getChange()
- Returns the object that constitues the change.