01: /*
02: * GWT-Ext Widget Library
03: * Copyright(c) 2007-2008, GWT-Ext.
04: * licensing@gwt-ext.com
05: *
06: * http://www.gwt-ext.com/license
07: */
08:
09: package com.gwtext.client.widgets.event;
10:
11: import com.gwtext.client.widgets.TabPanel;
12: import com.gwtext.client.widgets.Panel;
13: import com.gwtext.client.core.EventObject;
14:
15: /**
16: * TabPanelListener adapter class.
17: */
18: public class TabPanelListenerAdapter extends PanelListenerAdapter
19: implements TabPanelListener {
20:
21: public boolean doBeforeTabChange(TabPanel source, Panel newPanel,
22: Panel oldPanel) {
23: return true;
24: }
25:
26: public void onContextMenu(TabPanel source, Panel tab, EventObject e) {
27: }
28:
29: public void onTabChange(TabPanel source, Panel tab) {
30: }
31: }
|