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, getItem
addSubCmd, getContext, getSubCommands, getTitle, isContainerOf, setTitle
public ScrollContainerCmd(ContainerNode node)
node
- The related ContainerNode
.public void execute(boolean undoEnabled)
execute
in class ModifyItemCmd
undoEnabled
- Specifies whether undo/redo is enabled.public void undo()
undo
in class ModifyItemCmd
public void redo()
redo
in class ModifyItemCmd
public ContainerNode getContainer()
ContainerNode
object.