|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.washington.cs.supple.customization.state.State
The state of the user interface as it is relevant to customization. This class contains references to a record of previous modifications that were done to currently loaded UI (history), a list of customization commands that are applied everytime a new part of the UI is loaded (plan), as well as conditions that check if the current UI state is legal.
| Constructor Summary | |
State()
Creates a new state object. |
|
| Method Summary | |
java.lang.String |
getApplication()
Returns the application name of the application that currently runs SUPPLE. |
Conditions |
getConditions()
Returns a set of conditions that are required to hold at the current state of the UI. |
DeviceProperties |
getDevice()
Returns a pointer to the device description of the currently used device that runs SUPPLE. |
ApplicationFunctions |
getFunctions()
Returns a set of application functions that the customizer is aware of at the current state of the UI. |
History |
getHistory()
Returns the history of all previous modifications that were applied to this part of the UI. |
Plan |
getPlan()
Returns the current customization plan, which contains all customization commands that are applied to any new part of the UI that is loaded. |
Specifications |
getSpecifications()
Returns a set of the functional specifications of all loaded parts of the UI. |
void |
reverseLastActionAndTrimHistory()
Reverses the last action that was performed and removes this action from the history of performed actions. |
void |
setApplication(java.lang.String app)
Sets the application name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public State()
| Method Detail |
public Specifications getSpecifications()
public java.lang.String getApplication()
public void setApplication(java.lang.String app)
app - application namepublic DeviceProperties getDevice()
public History getHistory()
public Plan getPlan()
public Conditions getConditions()
public ApplicationFunctions getFunctions()
public void reverseLastActionAndTrimHistory()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||