We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.event.
Interface Action.Container
All Superinterfaces:
All Known Subinterfaces:
Enclosing class:
- extends Serializable
public static interface Action.Container
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
Version:
6.8.18
Author:
Vaadin Ltd.
Method Summary | |
---|---|
void |
addActionHandler(Action.Handler actionHandler)
Registers a new action handler for this container |
void |
removeActionHandler(Action.Handler actionHandler)
Removes a previously registered action handler for the contents of this container. |
Method Detail |
---|
addActionHandler
void addActionHandler(Action.Handler actionHandler)
- Parameters:
actionHandler
- the new handler to be added.
Registers a new action handler for this container
removeActionHandler
void removeActionHandler(Action.Handler actionHandler)
- Parameters:
actionHandler
- the handler to be removed.
Removes a previously registered action handler for the contents of this container.