edu.washington.cs.supple.customization.command
Class ActionRemoveStaticElement

java.lang.Object
  extended byedu.washington.cs.supple.customization.command.ActionRemoveStaticElement
All Implemented Interfaces:
Action

public class ActionRemoveStaticElement
extends java.lang.Object
implements Action

Removes a static UIObject from the UI. Note that the original UIObject is not actually removed, it is simply put into a hidden state.

Author:
raphael

Constructor Summary
ActionRemoveStaticElement()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 void execute(State state, UiObject location, Command executer)
          Executes an action.
 void executeRedo(State state, HistoryRecord record, Command executer)
          Executes a redo action.
 void executeReversal(State state, HistoryRecord record, Command executer)
          Executes a reverse action.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionRemoveStaticElement

public ActionRemoveStaticElement()
Method Detail

execute

public void execute(State state,
                    UiObject location,
                    Command executer)
Description copied from interface: Action
Executes an action.

Specified by:
execute in interface Action
Parameters:
state -
location -
executer -

executeReversal

public void executeReversal(State state,
                            HistoryRecord record,
                            Command executer)
Description copied from interface: Action
Executes a reverse action.

Specified by:
executeReversal in interface Action
Parameters:
state -
record -
executer -

executeRedo

public void executeRedo(State state,
                        HistoryRecord record,
                        Command executer)
Description copied from interface: Action
Executes a redo action.

Specified by:
executeRedo in interface Action
Parameters:
state -
record -
executer -

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)