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 DDTarget extends DragDrop {
16:
17: public DDTarget(JavaScriptObject jsObj) {
18: super (jsObj);
19: }
20:
21: public DDTarget(String id, String sGroup, DragDropConfig config) {
22: super (id, sGroup, config);
23: }
24:
25: public DDTarget(Element element, String sGroup,
26: DragDropConfig config) {
27: super (element, sGroup, config);
28: }
29:
30: public DDTarget(Component component, String sGroup,
31: DragDropConfig config) {
32: super (component, sGroup, config);
33: }
34:
35: protected native JavaScriptObject create(String id, String sGroup,
36: JavaScriptObject config)/*-{
37: return new $wnd.Ext.dd.DDTarget(id, sGroup, config);
38: }-*/;
39:
40: protected native JavaScriptObject create(Element element,
41: String sGroup, JavaScriptObject config)/*-{
42: return new $wnd.Ext.dd.DDTarget(element, sGroup, config);
43: }-*/;
44:
45: }
|