com.extjs.gxt.ui.client.dnd
Class TreeGridDragSource

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseObservable
      extended by com.extjs.gxt.ui.client.dnd.DragSource
          extended by com.extjs.gxt.ui.client.dnd.TreeGridDragSource
All Implemented Interfaces:
Observable

public class TreeGridDragSource
extends DragSource

DragSource implementation for TreeGrid.


Constructor Summary
TreeGridDragSource(Component component)
           
 
Method Summary
 DND.TreeSource getTreeGridSource()
          Returns the type if items that can be dragged.
 void setTreeGridSource(DND.TreeSource treeGridSource)
          Sets which tree items can be dragged (defaults to BOTH).
 
Methods inherited from class com.extjs.gxt.ui.client.dnd.DragSource
addDNDListener, disable, enable, getComponent, getData, getDraggable, getGroup, getStatusText, isEnabled, removeDNDListener, setData, setGroup, setStatusText
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable
addListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeGridDragSource

public TreeGridDragSource(Component component)
Method Detail

getTreeGridSource

public DND.TreeSource getTreeGridSource()
Returns the type if items that can be dragged.

Returns:
the tree source type

setTreeGridSource

public void setTreeGridSource(DND.TreeSource treeGridSource)
Sets which tree items can be dragged (defaults to BOTH).

Parameters:
treeGridSource - the tree source type