|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.dlsc.flexgantt.command.AbstractCommand com.dlsc.flexgantt.command.treetable.DefaultRowResizeCommand
public class DefaultRowResizeCommand
A command that changes the height of a tree table node. This command only
works in situations where the tree table node is an implementor of the
ITreeTableNode
interface.
IRowPolicy.getRowResizeCommand(Object,
com.dlsc.flexgantt.model.treetable.ITreeTableModel, int)
,
Serialized FormConstructor Summary | |
---|---|
DefaultRowResizeCommand(ITreeTableNode node,
int height)
Constructs a new command. |
Method Summary | |
---|---|
void |
executeCommand(IProgressMonitor monitor)
Executes the command. |
int |
getNewRowHeight()
Returns the new height of the tree table node. |
ITreeTableNode |
getNode()
Returns the node that received a new row height. |
int |
getOldRowHeight()
Returns the old height of the tree table node. |
void |
undoCommand(IProgressMonitor monitor)
Undos the command. |
Methods inherited from class com.dlsc.flexgantt.command.AbstractCommand |
---|
getName, isRedoable, isRelevant, isUndoable, redoCommand |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRowResizeCommand(ITreeTableNode node, int height)
node
- the tree table node that will receive a new heightheight
- the new height that will be assigned to the nodeMethod Detail |
---|
public void executeCommand(IProgressMonitor monitor)
ICommand
monitor
- a progress monitorpublic void undoCommand(IProgressMonitor monitor)
ICommand
monitor
- a progress monitorpublic ITreeTableNode getNode()
public int getNewRowHeight()
public int getOldRowHeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |