ca.odell.glazedlists
Interface UndoRedoSupport.Edit
public static interface UndoRedoSupport.Edit
Provides an easy interface to undo/redo a ListEvent in its entirety.
At any point in time it is only possible to do one, and only one, of
undo() and
redo(). To determine which one is allowed, use
canUndo() and
canRedo().
boolean | canRedo()- Returns true if this edit may be redone.
|
boolean | canUndo()- Returns true if this edit may be undone.
|
void | redo()- Re-applies the edit.
|
void | undo()- Undo the edit.
|
canRedo
public boolean canRedo()
Returns true if this edit may be redone.
canUndo
public boolean canUndo()
Returns true if this edit may be undone.
redo
public void redo()
Re-applies the edit.
undo
public void undo()
Undo the edit.
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by pbuilder at 2009-07-14 22:05