Public Member Functions | |
GraphLayoutCacheEdit (Map nested) | |
GraphLayoutCacheEdit (Object[] inserted, Map attributes, Object[] visible, Object[] invisible) | |
Object | getSource () |
boolean | isSignificant () |
Object[] | getChanged () |
Object[] | getInserted () |
Object[] | getRemoved () |
Object[] | getContext () |
Map | getAttributes () |
Map | getPreviousAttributes () |
void | redo () throws CannotRedoException |
void | undo () throws CannotUndoException |
void | execute () |
Protected Attributes | |
Object[] | cells |
Object[] | previousCells = null |
CellView[] | context |
CellView[] | hidden |
Map | attributes |
Map | previousAttributes |
Object[] | visible |
Object[] | invisible |
Set | changedCells = new HashSet() |
|
Constructs a GraphViewEdit. This modifies the attributes of the specified views and may be used to notify UndoListeners.
|
|
Constructs a GraphViewEdit. This modifies the attributes of the specified views and may be used to notify UndoListeners. This should also take an array of removed cell views, but it is not possible to add further UndoableEdits to an already executed CompoundEdit, such as a GraphModel change. Thus, to handle implicit changes -- rather than piggybacking on the model's manas.event -- the CompoundEdit's addEdit method should be extended to accept and instantly execute sub- sequent edits (implicit changes to the view, such as removing a mapping, hiding a view or the like).
|
|
Execute this edit such that the next invocation to this method will invert the last execution. |
|
Returns a map of (cell view, attribute) pairs. |
|
Returns the cell views that have changed. |
|
Returns the views that have not changed explicitly, but implicitly because one of their dependent cells has changed. |
|
Returns the cells that habe been made visible. |
|
Returns a map of (cell view, attribute) pairs. |
|
Returns the cells that have changed. |
|
|
|
|
|
Redoes a change.
|
|
Undoes a change.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|