public static interface GraphModelEvent.GraphModelChange extends GraphLayoutCacheEvent.GraphLayoutCacheChange
Modifier and Type | Method and Description |
---|---|
ConnectionSet |
getConnectionSet()
Returns a connection set representing the graph structure after the
change was applied
|
ParentMap |
getParentMap()
Returns a parent map representing the group structure after the
change was applied
|
ConnectionSet |
getPreviousConnectionSet()
Returns a connection set representing the graph structure before the
change was applied ( an "undo" of the change).
|
ParentMap |
getPreviousParentMap()
Returns a parent map representing the group structure before the
change was applied ( an "undo" of the change )
|
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. |
getAttributes, getChanged, getContext, getDirtyRegion, getInserted, getPreviousAttributes, getRemoved, getSource, setDirtyRegion
ConnectionSet getConnectionSet()
ConnectionSet getPreviousConnectionSet()
ParentMap getParentMap()
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.view
- the GraphLayoutCache
to store the removed
cellscellViews
- the cell views to be storedCellView[] getViews(GraphLayoutCache view)
GraphLayoutCache
to retrieve an array of
CellViews
that was previously stored with
putViews(GraphLayoutCache, CellView[])
.view
- the GraphLayoutCache
whose stored cells are
to be retrievedCopyright (C) 2001-2009 JGraph Ltd. All rights reserved.