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.gwtext.client.core.BaseConfig;
12: import com.gwtext.client.util.JavaScriptObjectHelper;
13:
14: public class DragDropConfig extends BaseConfig {
15:
16: public void setTarget(boolean target) {
17: JavaScriptObjectHelper.setAttribute(jsObj, "target", target);
18: }
19:
20: public void setPrimaryButtonOnly(boolean primaryButtonOnly) {
21: JavaScriptObjectHelper.setAttribute(jsObj, "primaryButtonOnly",
22: primaryButtonOnly);
23: }
24:
25: public void setMaintainOffset(boolean maintainOffset) {
26: JavaScriptObjectHelper.setAttribute(jsObj, "maintainOffset",
27: maintainOffset);
28: }
29:
30: }
|