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.dd;
10:
11: import com.google.gwt.core.client.JavaScriptObject;
12: import com.google.gwt.user.client.Element;
13: import com.gwtext.client.widgets.Component;
14:
15: public class DropZone extends DropTarget {
16:
17: public DropZone(JavaScriptObject jsObj) {
18: super (jsObj);
19: }
20:
21: public DropZone(String id, String sGroup, DragDropConfig config) {
22: super (id, sGroup, config);
23: }
24:
25: public DropZone(Component component, String sGroup,
26: DragDropConfig config) {
27: super (component, sGroup, config);
28: }
29:
30: protected native JavaScriptObject create(String id, String sGroup,
31: JavaScriptObject config)/*-{
32: return new $wnd.Ext.dd.DropTarget(id, sGroup, config);
33: }-*/;
34:
35: protected native JavaScriptObject create(Element element,
36: String sGroup, JavaScriptObject config)/*-{
37: return new $wnd.Ext.dd.DropTarget(element, sGroup, config);
38: }-*/;
39:
40: }
|