|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface GraphLayoutCacheEvent.GraphLayoutCacheChange
Defines the interface for objects that may be used to represent a change to the graph layout cache.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |