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.google.gwt.core.client.JavaScriptObject;
12: import com.gwtext.client.widgets.Component;
13:
14: public class ComponentListenerAdapter implements ComponentListener {
15:
16: public boolean doBeforeDestroy(Component component) {
17: return true;
18: }
19:
20: public boolean doBeforeHide(Component component) {
21: return true;
22: }
23:
24: public boolean doBeforeRender(Component component) {
25: return true;
26: }
27:
28: public boolean doBeforeShow(Component component) {
29: return true;
30: }
31:
32: public boolean doBeforeStateRestore(Component component,
33: JavaScriptObject state) {
34: return true;
35: }
36:
37: public boolean doBeforeStateSave(Component component,
38: JavaScriptObject state) {
39: return true;
40: }
41:
42: public void onDestroy(Component component) {
43: }
44:
45: public void onDisable(Component component) {
46: }
47:
48: public void onEnable(Component component) {
49: }
50:
51: public void onHide(Component component) {
52: }
53:
54: public void onRender(Component component) {
55: }
56:
57: public void onShow(Component component) {
58: }
59:
60: public void onStateRestore(Component component,
61: JavaScriptObject state) {
62: }
63:
64: public void onStateSave(Component component, JavaScriptObject state) {
65: }
66: }
|