Extension to
com.itmill.toolkit.ui.AbstractComponent
that defines the default
implementation for the methods in
com.itmill.toolkit.ui.ComponentContainer
. Basic UI
components that need to contain other components inherit this class to
easily qualify as a component container.
3.0
Inheritance Path. java.lang.Object-> com.itmill.toolkit.ui.AbstractComponent -> com.itmill.toolkit.ui.AbstractComponentContainer
This only implements the events and component parent calls. The extending classes must implement component list maintenance and call this method after component list maintenance.
Listen component attach events
Listen component detach events
attach()
Notifies all contained components that the container is attached to a window.
detach()
Notifies all contained components that the container is detached from a window.
Parameters
source
the container which contains the components that are to be moved to this container
Moves all components from an another container into this container.
The components are removed from
source
.
Removes all components from the container. This should probably be reimplemented in extending classes for a more powerfu implementation.
This only implements the events and component parent calls. The extending classes must implement component list maintenance and call this method before component list maintenance.
Stop listening component attach events
Stop listening component detach events