Package muntjac :: Package event :: Module action :: Class IContainer
[hide private]
[frames] | no frames]

Class IContainer

source code

object --+
         |
        IContainer
Known Subclasses:

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.


Authors:
Vaadin Ltd., Richard Lincoln

Version: 1.1.2

Instance Methods [hide private]
 
addActionHandler(self, actionHandler)
Registers a new action handler for this container
source code
 
removeActionHandler(self, actionHandler)
Removes a previously registered action handler for the contents of this container.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

addActionHandler(self, actionHandler)

source code 

Registers a new action handler for this container

Parameters:
  • actionHandler - the new handler to be added.

removeActionHandler(self, actionHandler)

source code 

Removes a previously registered action handler for the contents of this container.

Parameters:
  • actionHandler - the handler to be removed.