|
JGraph |
||||||||||
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 | |
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 |
public Object[] getInserted()
public Object[] getRemoved()
public Map getPreviousAttributes()
public ConnectionSet getPreviousConnectionSet()
public ParentMap getPreviousParentMap()
public 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.
public CellView[] getViews(GraphLayoutCache view)
GraphLayoutCache
to retrieve an array of
CellViews
that was previously stored with
putViews(GraphLayoutCache, CellView[])
.
|
JGraph |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |