public class FoldContainerCmd extends Command
Constructor and Description |
---|
FoldContainerCmd(ContainerNode container)
Initializes a new instance of the FoldContainerCmd class.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(boolean undoEnabled)
Carries out the command action.
|
ContainerNode |
getContainer()
Gets the table associated with the command.
|
void |
redo()
Redoes the command action.
|
void |
undo()
Undoes the command.
|
addSubCmd, adopt, getContext, getSubCommands, getTitle, isContainerOf, setTitle
public FoldContainerCmd(ContainerNode container)
public void execute(boolean undoEnabled)
public ContainerNode getContainer()