|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A command is the customization as it is issued by the user. A command can be a concrete customization at a defined location. However, it could also be a generalization of several other commands. Every command translates into one or more actions that need to be performed on the UI to execute the command.
| 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 |
toString()
A string representation of the command. |
| Method Detail |
public void execute(State s)
throws ConditionViolationException
s - state of UI
ConditionViolationException
public void execute(State s,
Specification spec)
throws ConditionViolationException
s - state of UIspec - part of the UI where command is applied
ConditionViolationExceptionpublic Action getAction()
public boolean equals(Command c)
c - another command to compare this one topublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||