org.millstone.base.event
Interface Action.Container

All Known Implementing Classes:
Table
Enclosing interface:
Action

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 hanle the action.

Since:
3.0
Version:
3.0.3
Author:
IT Mill Ltd.

Method Summary
 void addActionHandler(Action.Handler actionHandler)
          Registers a new action handler for this container
 void removeActionHandler(Action.Handler actionHandler)
          Remove a previously registered action handler for the contents of this container.
 

Method Detail

addActionHandler

public void addActionHandler(Action.Handler actionHandler)
Registers a new action handler for this container

Parameters:
actionHandler - the new handler to be added.

removeActionHandler

public void removeActionHandler(Action.Handler actionHandler)
Remove a previously registered action handler for the contents of this container.

Parameters:
actionHandler - the handler to be removed


Copyright © 2000,2001,2002 IT Mill Ltd. All Rights Reserved.