| java.lang.Object com.ibm.richtext.textpanel.SimpleCommandLog
SimpleCommandLog | final class SimpleCommandLog (Code) | | |
add | void add(Command newCommand)(Code) | | adds the specfied command to the top of the command stack
(any undone commands on the stack are removed)
This function assumes the command has already been executed (i.e., its execute() method
has been called, or an equivalent action has been taken)
|
addAndDo | void addAndDo(Command newCommand)(Code) | | adds the specfied command to the top of the command stack and executes it
|
canRedo | public boolean canRedo()(Code) | | |
canUndo | public boolean canUndo()(Code) | | |
clearLog | public void clearLog()(Code) | | |
getLogSize | public int getLogSize()(Code) | | |
isModified | public boolean isModified()(Code) | | |
redo | void redo()(Code) | | redoes the last undone command on the command stack, if there are any
|
setLogSize | public void setLogSize(int size)(Code) | | |
setModified | public void setModified(boolean modified)(Code) | | |
undo | void undo()(Code) | | undoes the command on the top of the command stack, if there is one
|
|
|