|
||||||||||
| 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.DeleteCommand
jimm.datavision.gui.cmd.CutCommand
public class CutCommand
Cuts (copies to the clipboard then deletes) a list of field widgets.
| Field Summary |
|---|
| Fields inherited from class jimm.datavision.gui.cmd.DeleteCommand |
|---|
designer, fieldWidgets |
| Fields inherited from class jimm.datavision.gui.cmd.CommandAdapter |
|---|
name |
| Constructor Summary | |
|---|---|
CutCommand(Designer designer,
java.util.ArrayList selectedFields)
|
|
| Method Summary | |
|---|---|
void |
perform()
Performs the command. |
void |
redo()
Calls super.perform because we don't want to copy
anything to the clipboard a second time. |
| Methods inherited from class jimm.datavision.gui.cmd.DeleteCommand |
|---|
undo |
| 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 |
| Constructor Detail |
|---|
public CutCommand(Designer designer,
java.util.ArrayList selectedFields)
| Method Detail |
|---|
public void perform()
CommandAdapter
perform in interface Commandperform in class DeleteCommandpublic void redo()
super.perform because we don't want to copy
anything to the clipboard a second time.
redo in interface Commandredo in class CommandAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||