|
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 | |
---|---|
Map |
getAttributes()
Returns a map that contains (object, map) pairs which holds the new attributes for each changed cell. |
Object[] |
getChanged()
Returns the cells that have changed. |
Object[] |
getContext()
Returns the objects that have not changed explicitly, but implicitly because one of their dependent cells has changed. |
Rectangle2D |
getDirtyRegion()
Returns the dirty region for the original position of the changed cells before the change happened. |
Object[] |
getInserted()
Returns the cells that have been inserted. |
Map |
getPreviousAttributes()
Returns a map that contains (object, map) pairs which holds the previous attributes for the changed cells. |
Object[] |
getRemoved()
Returns the cells that have been removed. |
Object |
getSource()
Returns the source of this change. |
void |
setDirtyRegion(Rectangle2D dirty)
In some cases the class firing this event will not have access to the dirty region prior to the change. |
Method Detail |
---|
Object getSource()
Object[] getChanged()
Object[] getInserted()
Object[] getRemoved()
Map getAttributes()
Map getPreviousAttributes()
Rectangle2D getDirtyRegion()
void setDirtyRegion(Rectangle2D dirty)
dirty
- Object[] getContext()
|
JGraph |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |