org.jgraph.event.GraphModelEvent.GraphModelChange Interface Reference

Inheritance diagram for org.jgraph.event.GraphModelEvent.GraphModelChange:

org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange List of all members.

Public Member Functions

ConnectionSet getConnectionSet ()
ConnectionSet getPreviousConnectionSet ()
ParentMap getParentMap ()
ParentMap getPreviousParentMap ()
void putViews (GraphLayoutCache view, CellView[] cellViews)
CellView[] getViews (GraphLayoutCache view)

Detailed Description

Defines the interface for objects that may be included into a GraphModelEvent to describe a model change.


Member Function Documentation

ConnectionSet org.jgraph.event.GraphModelEvent.GraphModelChange.getConnectionSet  ) 
 

Returns a connection set representing the graph structure after the change was applied

Returns:
the connection set of the graph after the change

ParentMap org.jgraph.event.GraphModelEvent.GraphModelChange.getParentMap  ) 
 

Returns a parent map representing the group structure after the change was applied

Returns:
the changed parent map

ConnectionSet org.jgraph.event.GraphModelEvent.GraphModelChange.getPreviousConnectionSet  ) 
 

Returns a connection set representing the graph structure before the change was applied ( an "undo" of the change).

Returns:
the connection set of the graph before the change

ParentMap org.jgraph.event.GraphModelEvent.GraphModelChange.getPreviousParentMap  ) 
 

Returns a parent map representing the group structure before the change was applied ( an "undo" of the change )

Returns:
the previous parent map

CellView [] org.jgraph.event.GraphModelEvent.GraphModelChange.getViews GraphLayoutCache  view  ) 
 

Allows a GraphLayoutCache to retrieve an array of CellViews that was previously stored with putViews(GraphLayoutCache, CellView[]).

Parameters:
view the GraphLayoutCache whose stored cells are to be retrieved

void org.jgraph.event.GraphModelEvent.GraphModelChange.putViews GraphLayoutCache  view,
CellView[]  cellViews
 

Allows a GraphLayoutCache to store cell views for cells that have been removed. Such cell views are used for re-insertion and restoring the visual attributes.

Parameters:
view the GraphLayoutCache to store the removed cells
cellViews the cell views to be stored


The documentation for this interface was generated from the following file:
Generated on Sun May 28 19:13:13 2006 for Digimod by  doxygen 1.4.6-NO