Package com.vaadin.event
Interface Action.Container
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
Action.Notifier
- All Known Implementing Classes:
ActionManager
,Calendar
,ColorPickerPopup
,ConnectorActionManager
,Form
,LegacyWindow
,Panel
,Table
,Tree
,TreeTable
,UI
,Window
- Enclosing class:
- Action
public static interface Action.Container extends Serializable
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addActionHandler(Action.Handler actionHandler)
Registers a new action handler for this containervoid
removeActionHandler(Action.Handler actionHandler)
Removes a previously registered action handler for the contents of this container.
-
-
-
Method Detail
-
addActionHandler
void addActionHandler(Action.Handler actionHandler)
Registers a new action handler for this container- Parameters:
actionHandler
- the new handler to be added.
-
removeActionHandler
void removeActionHandler(Action.Handler actionHandler)
Removes a previously registered action handler for the contents of this container.- Parameters:
actionHandler
- the handler to be removed.
-
-