public final class RedimTableCmd extends Command
Constructor and Description |
---|
RedimTableCmd(TableNode table,
java.lang.String title)
Initializes a new RedimTableCmd instance.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(boolean undoEnabled)
This method is called internally by JDiagram when
changing the number of rows or columns of a table.
|
TableNode |
getTable()
Returns the table related to this command.
|
void |
redo()
This method is called by the
UndoManager when redoing actions. |
void |
undo()
This method is called by the
UndoManager when undoing actions. |
addSubCmd, adopt, getContext, getSubCommands, getTitle, isContainerOf, setTitle
public void execute(boolean undoEnabled)
public void undo()
UndoManager
when undoing actions.public void redo()
UndoManager
when redoing actions.