|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gwtext.client.widgets.event.ComponentListenerAdapter
com.gwtext.client.widgets.event.BoxComponentListenerAdapter
com.gwtext.client.widgets.event.ContainerListenerAdapter
com.gwtext.client.widgets.event.PanelListenerAdapter
public class PanelListenerAdapter
Panel
listener adapter.
Constructor Summary | |
---|---|
PanelListenerAdapter()
|
Method Summary | |
---|---|
boolean |
doBeforeClose(Panel panel)
Fires before the Panel is closed. |
boolean |
doBeforeCollapse(Panel panel,
boolean animate)
Fires before the Panel is collapsed. |
boolean |
doBeforeExpand(Panel panel,
boolean animate)
Fires before the Panel is expanded. |
void |
onActivate(Panel panel)
Fires after the Panel has been visually activated. |
void |
onBodyResize(Panel panel,
java.lang.String width,
java.lang.String height)
Fires after the Panel has been resized. |
void |
onClose(Panel panel)
Fires after the Panel is closed. |
void |
onCollapse(Panel panel)
Fires after the Panel has been collapsed. |
void |
onDeactivate(Panel panel)
Fires after the Panel has been visually deactivated. |
void |
onExpand(Panel panel)
Fires after the Panel has been expanded. |
void |
onTitleChange(Panel panel,
java.lang.String title)
Fires after the Panel title has been set or changed. |
Methods inherited from class com.gwtext.client.widgets.event.ContainerListenerAdapter |
---|
doBeforeAdd, doBeforeRemove, onAdd, onAfterLayout, onRemove |
Methods inherited from class com.gwtext.client.widgets.event.BoxComponentListenerAdapter |
---|
onMove, onResize |
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.ContainerListener |
---|
doBeforeAdd, doBeforeRemove, onAdd, onAfterLayout, onRemove |
Methods inherited from interface com.gwtext.client.widgets.event.BoxComponentListener |
---|
onMove, onResize |
Methods inherited from interface com.gwtext.client.widgets.event.ComponentListener |
---|
doBeforeDestroy, doBeforeHide, doBeforeRender, doBeforeShow, doBeforeStateRestore, doBeforeStateSave, onDestroy, onDisable, onEnable, onHide, onRender, onShow, onStateRestore, onStateSave |
Constructor Detail |
---|
public PanelListenerAdapter()
Method Detail |
---|
public void onActivate(Panel panel)
PanelListener
onActivate
in interface PanelListener
panel
- thispublic boolean doBeforeClose(Panel panel)
PanelListener
TabPanel
,
you must listner for the ContainerListener.doBeforeRemove(com.gwtext.client.widgets.Container, com.gwtext.client.widgets.Component)
event because closing a tab doesnt close the TabPanel, it just removes it from the parent TabPanel.
doBeforeClose
in interface PanelListener
panel
- this
public boolean doBeforeCollapse(Panel panel, boolean animate)
PanelListener
doBeforeCollapse
in interface PanelListener
panel
- thisanimate
- true if collapse is animated
public boolean doBeforeExpand(Panel panel, boolean animate)
PanelListener
doBeforeExpand
in interface PanelListener
panel
- thisanimate
- true if expand animated
public void onBodyResize(Panel panel, java.lang.String width, java.lang.String height)
PanelListener
onBodyResize
in interface PanelListener
panel
- thiswidth
- the new widthheight
- the new heightpublic void onClose(Panel panel)
PanelListener
TabPanel
,
you must listner for the ContainerListener.onRemove(com.gwtext.client.widgets.Container, com.gwtext.client.widgets.Component)
event because closing a tab doesnt close the TabPanel, it just removes it from the parent TabPanel.
onClose
in interface PanelListener
panel
- thispublic void onCollapse(Panel panel)
PanelListener
onCollapse
in interface PanelListener
panel
- thispublic void onDeactivate(Panel panel)
PanelListener
onDeactivate
in interface PanelListener
panel
- thispublic void onExpand(Panel panel)
PanelListener
onExpand
in interface PanelListener
panel
- thispublic void onTitleChange(Panel panel, java.lang.String title)
PanelListener
onTitleChange
in interface PanelListener
panel
- thistitle
- the new title
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |