edu.washington.cs.supple.rep
Interface UiAction
- All Superinterfaces:
- ConstraintManipulation, java.util.EventListener, java.beans.PropertyChangeListener, SuppleBean, SuppleUiObjectHierarchyElement, UiObject
- All Known Implementing Classes:
- UiActionImpl
- public interface UiAction
- extends UiObject
- Author:
- kgajos
|
Method Summary |
void |
bindAction(SuppleAction action)
Rebind the (application defined) action backing this UiAction. |
UiObject |
execute()
This method is called when the user presses a button on the UI to execute this action |
UiObject |
getResultUi()
Get an example of the ui (if any) that would result from executing this action. |
| Methods inherited from interface edu.washington.cs.supple.rep.UiObject |
accept, childChanged, equals, getInterfaceIdentifier, getTextLabel, getType, getUniqueId, getView, hashCode, hasTextLabel, isActive, isLeaf, isModifiable, isRuntime, setActive, setRuntime, setView, toPrettyString, toString |
| Methods inherited from interface edu.washington.cs.supple.rep.SuppleUiObjectHierarchyElement |
getAncestors, getFullName, getName, getParent, getParentObject, getRootObject, isChildOf, isDescendantOf, isRoot, setName, setParent |
| Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
execute
public UiObject execute()
- This method is called when the user presses a button on the UI to execute this action
- Returns:
- Returns a UiObject to be displayed in response to executing this action
getResultUi
public UiObject getResultUi()
- Get an example of the ui (if any) that would result from executing this action.
NOTE: the semantics here are not well defined.
- Returns:
bindAction
public void bindAction(SuppleAction action)
- Rebind the (application defined) action backing this UiAction.
- Parameters:
action -