public class ForwardUndoCompoundCommand extends CompoundCommand
Constructor and Description |
---|
ForwardUndoCompoundCommand()
Constructs a ForwardUndoCompoundCommand with no label
|
ForwardUndoCompoundCommand(java.lang.String label)
Constructs a ForwardUndoCompoundCommand with the specified label
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDebugLabel() |
void |
undo()
Undo the command.
|
add, canExecute, canRedo, canUndo, dispose, execute, getChildren, getCommands, getLabel, isEmpty, redo, size, unwrap
chain, setDebugLabel, setLabel
public ForwardUndoCompoundCommand()
public ForwardUndoCompoundCommand(java.lang.String label)
label
- the labelpublic java.lang.String getDebugLabel()
getDebugLabel
in class Command
Command.getDebugLabel()
public void undo()
undo
in class CompoundCommand
Command.undo()
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.