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.Component;
11: import com.gwtext.client.widgets.Container;
12:
13: public class ContainerListenerAdapter extends
14: BoxComponentListenerAdapter implements ContainerListener {
15:
16: public void onAdd(Container self, Component component, int index) {
17: }
18:
19: public void onAfterLayout(Container self) {
20: }
21:
22: public boolean doBeforeAdd(Container self, Component component,
23: int index) {
24: return true;
25: }
26:
27: public boolean doBeforeRemove(Container self, Component component) {
28: return true;
29: }
30:
31: public void onRemove(Container self, Component component) {
32: }
33: }
|