Interface Action.Container
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Action.Notifier
- All Known Implementing Classes:
Spreadsheet
- Enclosing class:
- Action
Interface implemented by all components where actions can be registered.
This means that the components lets others to register as action handlers
to it. When the component receives an action targeting its contents it
should loop all action handlers registered to it and let them handle the
action.
- Since:
- 3.0
- Author:
- Vaadin Ltd.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddActionHandler(Action.Handler actionHandler) Registers a new action handler for this container.voidremoveActionHandler(Action.Handler actionHandler) Removes a previously registered action handler for the contents of this container.
-
Method Details
-
addActionHandler
Registers a new action handler for this container.- Parameters:
actionHandler- the new handler to be added.
-
removeActionHandler
Removes a previously registered action handler for the contents of this container.- Parameters:
actionHandler- the handler to be removed.
-