com.gwtext.client.widgets.event
Class ContainerListenerAdapter
java.lang.Object
com.gwtext.client.widgets.event.ComponentListenerAdapter
com.gwtext.client.widgets.event.BoxComponentListenerAdapter
com.gwtext.client.widgets.event.ContainerListenerAdapter
- All Implemented Interfaces:
- BoxComponentListener, ComponentListener, ContainerListener
- Direct Known Subclasses:
- PanelListenerAdapter
public class ContainerListenerAdapter
- extends BoxComponentListenerAdapter
- implements ContainerListener
Methods inherited from class com.gwtext.client.widgets.event.ComponentListenerAdapter |
doBeforeDestroy, doBeforeHide, doBeforeRender, doBeforeShow, doBeforeStateRestore, doBeforeStateSave, onDestroy, onDisable, onEnable, onHide, onRender, onShow, onStateRestore, onStateSave |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.gwtext.client.widgets.event.ComponentListener |
doBeforeDestroy, doBeforeHide, doBeforeRender, doBeforeShow, doBeforeStateRestore, doBeforeStateSave, onDestroy, onDisable, onEnable, onHide, onRender, onShow, onStateRestore, onStateSave |
ContainerListenerAdapter
public ContainerListenerAdapter()
onAdd
public void onAdd(Container self,
Component component,
int index)
- Description copied from interface:
ContainerListener
- Fires after any Component is added or inserted into the container.
- Specified by:
onAdd
in interface ContainerListener
- Parameters:
self
- selfcomponent
- the component being addedindex
- the index at which the component was added to the container's items collection
onAfterLayout
public void onAfterLayout(Container self)
- Description copied from interface:
ContainerListener
- Fires when the components in this container are arranged by the associated layout manager.
- Specified by:
onAfterLayout
in interface ContainerListener
- Parameters:
self
- self
doBeforeAdd
public boolean doBeforeAdd(Container self,
Component component,
int index)
- Description copied from interface:
ContainerListener
- Fires before any Component is added or inserted into the container. A handler can return false to cancel the add.
- Specified by:
doBeforeAdd
in interface ContainerListener
- Parameters:
self
- selfcomponent
- the component being addedindex
- the index at which the component was added to the container's items collection
- Returns:
- false to cancel
doBeforeRemove
public boolean doBeforeRemove(Container self,
Component component)
- Description copied from interface:
ContainerListener
- Fires before any Component is removed from the container. A handler can return false to cancel the remove.
- Specified by:
doBeforeRemove
in interface ContainerListener
- Parameters:
self
- selfcomponent
- the container being removed
- Returns:
- false to cancel
onRemove
public void onRemove(Container self,
Component component)
- Description copied from interface:
ContainerListener
- Fires after any Component is removed from the container.
- Specified by:
onRemove
in interface ContainerListener
- Parameters:
self
- selfcomponent
- the container being removed