|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjimm.datavision.gui.cmd.CommandAdapter
jimm.datavision.gui.cmd.SectionResizeCommand
public class SectionResizeCommand
Mainly used by other commands to remember a section's old size and restore it on an undo.
| Field Summary | |
|---|---|
protected int |
oldSectionHeight
|
protected int |
sectionHeightDelta
|
protected SectionWidget |
sw
|
| Fields inherited from class jimm.datavision.gui.cmd.CommandAdapter |
|---|
name |
| Constructor Summary | |
|---|---|
SectionResizeCommand(SectionWidget sw)
|
|
| Method Summary | |
|---|---|
void |
perform()
Performs the command. |
void |
redo()
Redoes the command by calling CommandAdapter.perform(). |
void |
undo()
Undoes the command. |
| Methods inherited from class jimm.datavision.gui.cmd.CommandAdapter |
|---|
getName, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SectionWidget sw
protected int oldSectionHeight
protected int sectionHeightDelta
| Constructor Detail |
|---|
public SectionResizeCommand(SectionWidget sw)
| Method Detail |
|---|
public void perform()
CommandAdapter
perform in interface Commandperform in class CommandAdapterpublic void undo()
CommandAdapter
undo in interface Commandundo in class CommandAdapterpublic void redo()
CommandAdapterCommandAdapter.perform().
redo in interface Commandredo in class CommandAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||