public static interface GraphLayoutCacheEvent.GraphLayoutCacheChange
Modifier and Type | Method and Description |
---|---|
java.util.Map |
getAttributes()
Returns a map that contains (object, map) pairs which holds the new
attributes for each changed cell.
|
java.lang.Object[] |
getChanged()
Returns the cells that have changed.
|
java.lang.Object[] |
getContext()
Returns the objects that have not changed explicitly, but implicitly
because one of their dependent cells has changed.
|
java.awt.geom.Rectangle2D |
getDirtyRegion()
Returns the dirty region for the original position of the
changed cells before the change happened.
|
java.lang.Object[] |
getInserted()
Returns the cells that have been inserted.
|
java.util.Map |
getPreviousAttributes()
Returns a map that contains (object, map) pairs which holds the
previous attributes for the changed cells.
|
java.lang.Object[] |
getRemoved()
Returns the cells that have been removed.
|
java.lang.Object |
getSource()
Returns the source of this change.
|
void |
setDirtyRegion(java.awt.geom.Rectangle2D dirty)
In some cases the class firing this event will not have access
to the dirty region prior to the change.
|
java.lang.Object getSource()
java.lang.Object[] getChanged()
java.lang.Object[] getInserted()
java.lang.Object[] getRemoved()
java.util.Map getAttributes()
java.util.Map getPreviousAttributes()
java.awt.geom.Rectangle2D getDirtyRegion()
void setDirtyRegion(java.awt.geom.Rectangle2D dirty)
dirty
- java.lang.Object[] getContext()
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.