|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface GraphModelEvent.GraphModelChange
Defines the interface for objects that may be included into a GraphModelEvent to describe a model change.
Method Summary | |
---|---|
Object[] |
getInserted()
Returns the cells that have been inserted into the model. |
Map |
getPreviousAttributes()
Returns a map that contains (object, map) pairs of the attributes that have been stored in the model. |
ConnectionSet |
getPreviousConnectionSet()
|
ParentMap |
getPreviousParentMap()
|
Object[] |
getRemoved()
Returns the cells that have been removed from the model. |
CellView[] |
getViews(GraphLayoutCache view)
Allows a GraphLayoutCache to retrieve an array of
CellViews that was previously stored with
putViews(GraphLayoutCache, CellView[]) . |
void |
putViews(GraphLayoutCache view,
CellView[] cellViews)
Allows a GraphLayoutCache to store cell views
for cells that have been removed. |
Methods inherited from interface org.jgraph.event.GraphModelEvent.GraphViewChange |
---|
getAttributes, getChanged, getContext, getSource |
Method Detail |
---|
Object[] getInserted()
Object[] getRemoved()
Map getPreviousAttributes()
ConnectionSet getPreviousConnectionSet()
ParentMap getPreviousParentMap()
void putViews(GraphLayoutCache view, CellView[] cellViews)
GraphLayoutCache
to store cell views
for cells that have been removed. Such cell views are used
for re-insertion and restoring the visual attributes.
CellView[] getViews(GraphLayoutCache view)
GraphLayoutCache
to retrieve an array of
CellViews
that was previously stored with
putViews(GraphLayoutCache, CellView[])
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |