|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GUIAction
Action definition.
| Method Summary | |
|---|---|
boolean |
execute(ActionContext actionContext)
Executes the action. |
DisplayStateHandler |
getDisplayStateHandler()
Display state handler for this action |
Icon |
getIcon(String iconID,
IconSize iconSize)
Gets the icon according to its ID |
GUIExpression |
getIconIDExpression(ActionContext actionContext)
Icon for the action |
String |
getId()
ID for the action |
GUIExpression |
getShortcutExpression(ActionContext actionContext)
Shortcut for the action |
GUIExpression |
getTextExpression(ActionContext actionContext)
Text for the action |
GUIExpression |
getTipExpression(ActionContext actionContext)
Tip for the action |
| Method Detail |
|---|
boolean execute(ActionContext actionContext)
actionContext - Context for the action
true if the action has been executed without errorDisplayStateHandler getDisplayStateHandler()
Icon getIcon(String iconID,
IconSize iconSize)
iconID - Icon IDiconSize - Icon size
null if none is
available.GUIExpression getIconIDExpression(ActionContext actionContext)
actionContext - Context for the action
String getId()
GUIExpression getShortcutExpression(ActionContext actionContext)
actionContext - Context for the action
GUIExpression getTextExpression(ActionContext actionContext)
actionContext - Context for the action
GUIExpression getTipExpression(ActionContext actionContext)
actionContext - Context for the action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||