edu.washington.cs.supple.customization.command
Class ActionSetWidgetType
java.lang.Object
edu.washington.cs.supple.customization.command.ActionSetWidgetType
- All Implemented Interfaces:
- Action
- public class ActionSetWidgetType
- extends java.lang.Object
- implements Action
Sets the widget type of a UiObject. For example, integer state variables can
be represented as spinners, sliders, etc....
- Author:
- raphael
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
widgetDescriptors
protected WidgetDescriptor[] widgetDescriptors
ActionSetWidgetType
public ActionSetWidgetType(WidgetDescriptor widgetDescriptor)
ActionSetWidgetType
public ActionSetWidgetType(WidgetDescriptor[] widgetDescriptors)
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 -
removePreviousConstraints
protected void removePreviousConstraints(UiObject location)
toString
public java.lang.String toString()
equals
public boolean equals(Action c)