|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.jgraph.event.GraphModelEvent
public class GraphModelEvent
Encapsulates information describing changes to a graph model, and is used to notify graph model listeners of the change.
Nested Class Summary | |
---|---|
static interface |
GraphModelEvent.ExecutableGraphChange
Defines the interface for objects that may be executed by the model when used as arguments to insert or edit. |
static interface |
GraphModelEvent.GraphModelChange
Defines the interface for objects that may be included into a GraphModelEvent to describe a model change. |
static interface |
GraphModelEvent.GraphViewChange
Defines the interface for objects that may be used to represent a change to the view. |
Field Summary | |
---|---|
protected GraphModelEvent.GraphModelChange |
change
The object that consistutes the change. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
GraphModelEvent(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. |
Method Summary | |
---|---|
GraphModelEvent.GraphModelChange |
getChange()
Returns the object that constitues the change. |
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 |
Field Detail |
---|
protected GraphModelEvent.GraphModelChange change
Constructor Detail |
---|
public GraphModelEvent(Object source, GraphModelEvent.GraphModelChange change)
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 changeGraphCell
Method Detail |
---|
public GraphModelEvent.GraphModelChange getChange()
|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |