|
JGraph
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public Object getSource()
public Object[] getChanged()
public Object[] getInserted()
public Object[] getRemoved()
public Map getAttributes()
public Map getPreviousAttributes()
public Rectangle2D getDirtyRegion()
public void setDirtyRegion(Rectangle2D dirty)
dirty
- public Object[] getContext()
|
JGraph
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |