com.gwtext.client.dd
Class DropTargetConfig

java.lang.Object
  extended by com.gwtext.client.core.JsObject
      extended by com.gwtext.client.core.BaseConfig
          extended by com.gwtext.client.dd.DragDropConfig
              extended by com.gwtext.client.dd.DropTargetConfig

public class DropTargetConfig
extends DragDropConfig


Field Summary
 
Fields inherited from class com.gwtext.client.core.JsObject
jsObj
 
Constructor Summary
DropTargetConfig()
           
 
Method Summary
 void setdDdGroup(java.lang.String ddGroup)
          A named drag drop group to which this object belongs.
 void setDropAllowed(java.lang.String dropAllowed)
          The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").
 void setDropNotAllowed(java.lang.String dropNotAllowed)
          The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").
 void setOverClass(java.lang.String overClass)
          The CSS class applied to the drop target element while the drag source is over it (defaults to "").
 
Methods inherited from class com.gwtext.client.dd.DragDropConfig
setMaintainOffset, setPrimaryButtonOnly, setTarget
 
Methods inherited from class com.gwtext.client.core.JsObject
getJsObj, getProperties, isCreated, setJsObj
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropTargetConfig

public DropTargetConfig()
Method Detail

setdDdGroup

public void setdDdGroup(java.lang.String ddGroup)
A named drag drop group to which this object belongs. If a group is specified, then this object will only interact with other drag drop objects in the same group (defaults to undefined).

Parameters:
ddGroup - the group name

setDropAllowed

public void setDropAllowed(java.lang.String dropAllowed)
The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").

Parameters:
dropAllowed - drop allowed CSS

setDropNotAllowed

public void setDropNotAllowed(java.lang.String dropNotAllowed)
The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").

Parameters:
dropNotAllowed - drop not allowed CSS

setOverClass

public void setOverClass(java.lang.String overClass)
The CSS class applied to the drop target element while the drag source is over it (defaults to "").

Parameters:
overClass - the over class