org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange Interface Reference

Inheritance diagram for org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange:

org.jgraph.event.GraphModelEvent.GraphModelChange List of all members.

Public Member Functions

Object getSource ()
Object[] getChanged ()
Object[] getInserted ()
Object[] getRemoved ()
Map getAttributes ()
Map getPreviousAttributes ()
Object[] getContext ()

Detailed Description

Defines the interface for objects that may be used to represent a change to the graph layout cache.


Member Function Documentation

Map org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange.getAttributes  ) 
 

Returns a map that contains (object, map) pairs which holds the new attributes for each changed cell. Note: This returns a map of (cell, map) pairs for an insert on a model that is not an attribute store. Use getPreviousAttributes to access the attributes that have been stored in the model.

Object [] org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange.getChanged  ) 
 

Returns the cells that have changed.

Returns:
the cell changed

Object [] org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange.getContext  ) 
 

Returns the objects that have not changed explicitly, but implicitly because one of their dependent cells has changed. This is typically used to return the edges that are attached to vertices, which in turn have been resized or moved.

Returns:
array of contextual cells

Object [] org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange.getInserted  ) 
 

Returns the cells that have been inserted.

Returns:
the cells that were inserted by the change

Map org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange.getPreviousAttributes  ) 
 

Returns a map that contains (object, map) pairs which holds the previous attributes for the changed cells.

Returns:
map of attributes before the change

Object [] org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange.getRemoved  ) 
 

Returns the cells that have been removed.

Returns:
the cells that were removed by the change

Object org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange.getSource  ) 
 

Returns the source of this change. This can either be a view or a model, if this change is a GraphModelChange. Note: This is not necessarily the same as the source of the manas.event and is used separately in the graphundomanager.

Returns:
the source fo this change


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