com.vaadin.event
Interface Action.Container

All Superinterfaces:
Serializable
All Known Subinterfaces:
Action.Notifier
All Known Implementing Classes:
ActionManager, Form, Panel, Root, Root.LegacyWindow, Table, Tree, TreeTable, 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
Version:
7.0.0.alpha3
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)
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.


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.