public final class ScrollContainerCmd extends ModifyItemCmd
| Constructor and Description |
|---|
ScrollContainerCmd(ContainerNode node)
Initializes a new instance of the ScrollContainerCmd class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(boolean undoEnabled)
Command.execute override.
|
ContainerNode |
getContainer()
Gets a reference to the ContainerNode affected by this operation.
|
void |
redo()
Command.redo override.
|
void |
undo()
Command.undo override.
|
adopt, getItemaddSubCmd, getContext, getSubCommands, getTitle, isContainerOf, setTitlepublic ScrollContainerCmd(ContainerNode node)
node - The related ContainerNode.public void execute(boolean undoEnabled)
execute in class ModifyItemCmdundoEnabled - Specifies whether undo/redo is enabled.public void undo()
undo in class ModifyItemCmdpublic void redo()
redo in class ModifyItemCmdpublic ContainerNode getContainer()
ContainerNode object.