public final class ScrollTableCmd extends Command
Constructor and Description |
---|
ScrollTableCmd(TableNode table)
Initializes a new ScrollTableCmd instance.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(boolean undoEnabled)
This method is called internally by JDiagram when scrolling tables.
|
TableNode |
getTable()
Gets 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.