com.gwtext.client.widgets.event
Interface TabPanelListener
- All Superinterfaces:
- BoxComponentListener, ComponentListener, ContainerListener, PanelListener
- All Known Implementing Classes:
- TabPanelListenerAdapter
public interface TabPanelListener
- extends PanelListener
| Methods inherited from interface com.gwtext.client.widgets.event.ComponentListener |
doBeforeDestroy, doBeforeHide, doBeforeRender, doBeforeShow, doBeforeStateRestore, doBeforeStateSave, onDestroy, onDisable, onEnable, onHide, onRender, onShow, onStateRestore, onStateSave |
doBeforeTabChange
boolean doBeforeTabChange(TabPanel source,
Panel newPanel,
Panel oldPanel)
- Fires before the active tab changes. Return false to cancel the tab change.
- Parameters:
source - thisnewPanel - the new paneloldPanel - the old panel
- Returns:
- false to cancel the tab change
onContextMenu
void onContextMenu(TabPanel source,
Panel tab,
EventObject e)
- Fires when the contextmenu event originated from a tab element.
- Parameters:
source - thistab - the tabe - the event object
onTabChange
void onTabChange(TabPanel source,
Panel tab)
- Fires after the active tab has changed.
- Parameters:
source - thistab - the selected tab