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: package com.gwtext.client.widgets.event;
09:
10: import com.gwtext.client.widgets.Panel;
11:
12: /**
13: * {@link Panel} listener adapter.
14: */
15: public class PanelListenerAdapter extends ContainerListenerAdapter
16: implements PanelListener {
17:
18: public void onActivate(Panel panel) {
19: }
20:
21: public boolean doBeforeClose(Panel panel) {
22: return true;
23: }
24:
25: public boolean doBeforeCollapse(Panel panel, boolean animate) {
26: return true;
27: }
28:
29: public boolean doBeforeExpand(Panel panel, boolean animate) {
30: return true;
31: }
32:
33: public void onBodyResize(Panel panel, String width, String height) {
34: }
35:
36: public void onClose(Panel panel) {
37: }
38:
39: public void onCollapse(Panel panel) {
40: }
41:
42: public void onDeactivate(Panel panel) {
43: }
44:
45: public void onExpand(Panel panel) {
46: }
47:
48: public void onTitleChange(Panel panel, String title) {
49: }
50: }
|