|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mindfusion.diagramming.Command com.mindfusion.diagramming.FoldContainerCmd
public class FoldContainerCmd
Constructor Summary | |
---|---|
FoldContainerCmd(ContainerNode container)
Initializes a new instance of the ScrollTableCmd class. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.mindfusion.diagramming.Command |
---|
addSubCmd, adopt, getContext, getSubCommands, getTitle, isContainerOf, setTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FoldContainerCmd(ContainerNode container)
Method Detail |
---|
public void execute(boolean undoEnabled)
execute
in class Command
undoEnabled
- true
if the undo manager is enabled
at this time, otherwise false
.public void undo()
undo
in class Command
public void redo()
redo
in class Command
public ContainerNode getContainer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |