|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.washington.cs.supple.customization.command.ActionMoveElement
Moves an element from one location of the UIObject to another container type object.
| Constructor Summary | |
ActionMoveElement(Reference target)
Creates a move element action. |
|
| Method Summary | |
boolean |
equals(Action c)
|
void |
execute(State state,
UiObject location,
Command executer)
The move is realized by performing a copy and a remove action in sequence. |
void |
executeRedo(State state,
HistoryRecord record,
Command executer)
Move actions are not redone since they don't physically exist in the history. |
void |
executeReversal(State state,
HistoryRecord record,
Command executer)
Move actions are not reversed since they don't physically exist in the history. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ActionMoveElement(Reference target)
target - | Method Detail |
public void execute(State state,
UiObject location,
Command executer)
throws ConditionViolationException
execute in interface Actionstate - location - executer -
ConditionViolationException
public void executeReversal(State state,
HistoryRecord record,
Command executer)
executeReversal in interface Actionstate - record - executer -
public void executeRedo(State state,
HistoryRecord record,
Command executer)
executeRedo in interface Actionstate - record - executer - public java.lang.String toString()
public boolean equals(Action c)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||