|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the interface for objects that may be included into a GraphModelEvent to describe a model change.
Method Summary | |
java.lang.Object[] |
getInserted()
Returns the cells that have been inserted into the model. |
java.lang.Object[] |
getRemoved()
Returns the cells that have been removed from the model. |
java.util.Map |
getStoredAttributeMap()
Returns a map that contains (object, map) pairs of the attributes that have been stored in the model. |
CellView[] |
getViews(GraphView view)
Allows a GraphView to retrieve an array of
CellViews that was previously stored with
putViews(GraphView, CellView[]) . |
void |
putViews(GraphView view,
CellView[] cellViews)
Allows a GraphView to store an array of
CellViews (used for command history). |
Methods inherited from interface com.jgraph.event.GraphModelEvent.GraphViewChange |
getAttributeMap, getChanged, getContext, getSource |
Method Detail |
public java.lang.Object[] getInserted()
public java.lang.Object[] getRemoved()
public java.util.Map getStoredAttributeMap()
public void putViews(GraphView view, CellView[] cellViews)
GraphView
to store an array of
CellViews
(used for command history).
public CellView[] getViews(GraphView view)
GraphView
to retrieve an array of
CellViews
that was previously stored with
putViews(GraphView, CellView[])
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |