public class GraphModelEvent
extends java.util.EventObject
Modifier and Type | Class and Description |
---|---|
static interface |
GraphModelEvent.GraphModelChange
Defines the interface for objects that may be included into a
GraphModelEvent to describe a model change.
|
Modifier and Type | Field and Description |
---|---|
protected GraphModelEvent.GraphModelChange |
change
The object that constitutes the change.
|
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
GraphModelEvent.GraphModelChange |
getChange()
Returns the object that constitutes the change.
|
protected GraphModelEvent.GraphModelChange change
public GraphModelEvent(java.lang.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
public GraphModelEvent.GraphModelChange getChange()
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.