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.google.gwt.user.client.Element;
11: import com.gwtext.client.core.EventObject;
12: import com.gwtext.client.widgets.DataView;
13:
14: public class DataViewListenerAdapter extends
15: BoxComponentListenerAdapter implements DataViewListener {
16:
17: public boolean doBeforeClick(DataView source, int index,
18: Element node, EventObject e) {
19: return true;
20: }
21:
22: public boolean doBeforeSelect(DataView source, Element node,
23: Element[] selections) {
24: return true;
25: }
26:
27: public void onClick(DataView source, int index, Element node,
28: EventObject e) {
29: }
30:
31: public void onContainerClick(DataView source, EventObject e) {
32: }
33:
34: public void onContextMenu(DataView source, int index, Element node,
35: EventObject e) {
36: }
37:
38: public void onDblClick(DataView source, int index, Element node,
39: EventObject e) {
40: }
41:
42: public void onSelectionChange(DataView view, Element[] selections) {
43: }
44: }
|