|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.washington.cs.supple.customization.command.CommandStandard
A standard customization command issued by the user. It only affects a single location of the UI.
| Constructor Summary | |
CommandStandard(Action action,
UiObject location,
java.lang.String application,
DeviceProperties device)
|
|
| Method Summary | |
boolean |
equals(Command c)
Compares this command to another command. |
void |
execute(State s)
Executes the command on a given UI. |
void |
execute(State s,
Specification spec)
Applies a command only to a part of a UI. |
Action |
getAction()
Returns the action type used by the command. |
java.lang.String |
getApplication()
|
DeviceProperties |
getDevice()
|
UiObject |
getLocation()
|
java.lang.String |
toString()
A string representation of the command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CommandStandard(Action action,
UiObject location,
java.lang.String application,
DeviceProperties device)
| Method Detail |
public void execute(State s)
throws ConditionViolationException
Command
execute in interface Commands - state of UI
ConditionViolationException
public void execute(State s,
Specification spec)
throws ConditionViolationException
Command
execute in interface Commands - state of UIspec - part of the UI where command is applied
ConditionViolationExceptionpublic Action getAction()
Command
getAction in interface Commandpublic UiObject getLocation()
public java.lang.String getApplication()
public DeviceProperties getDevice()
public boolean equals(Command c)
equals in interface Commandc - another command to compare this one topublic java.lang.String toString()
Command
toString in interface Command
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||