| javax.swing.undo.CompoundEdit com.jeta.swingbuilder.gui.undo.EditorUndoManager
EditorUndoManager | public class EditorUndoManager extends CompoundEdit (Code) | | This is the UndoManager for an editor.
author: Jeff Tassin |
canRedo | public synchronized boolean canRedo()(Code) | | |
canUndo | public synchronized boolean canUndo()(Code) | | |
canUndoOrRedo | public synchronized boolean canUndoOrRedo()(Code) | | |
discardAllEdits | public synchronized void discardAllEdits()(Code) | | |
end | public synchronized void end()(Code) | | |
getIndexOfNextAdd | public int getIndexOfNextAdd()(Code) | | This should only be called during testing
|
redo | public synchronized void redo(boolean shouldRedo) throws CannotRedoException(Code) | | Redoes the current edit.
Parameters: shouldRedo - flag that indicates if the redo on the edit should be invoked.If false, this operation only changes the indexOfNextAddpointer. |
size | public int size()(Code) | | the number of edits in the queue |
trimEdits | protected void trimEdits(int from, int to)(Code) | | |
trimForLimit | protected void trimForLimit()(Code) | | |
undo | public synchronized void undo(boolean shouldUndo) throws CannotUndoException(Code) | | Undoes the current edit.
Parameters: shouldUndo - flag that indicates if the undo on the edit should be invoked.If false, this operation only changes the indexOfNextAddpointer. |
|
|