|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ActionHandler
Manages the state of actions associated to toolbar buttons and right-click menu items.
| Method Summary | |
|---|---|
UpdatableAction |
getAction(String name)
Get the action with the specified name. |
List<Object> |
getSelectedElements()
Get the selected elements in the component handled by this action manager. |
void |
putAction(String name,
UpdatableAction action)
Add an action with the specified name to this action manager. |
void |
updateActions()
Update the state of all actions registered with this ActionHandler. |
| Method Detail |
|---|
void putAction(String name,
UpdatableAction action)
name - the name of the action to add.action - the action to add.UpdatableAction getAction(String name)
name - the name of the action to find.
Action or null if the specified name could not be found.List<Object> getSelectedElements()
void updateActions()
ActionHandler.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||