public class TreeDragSource<M> extends DragSource
| Constructor and Description |
|---|
TreeDragSource(Tree<M,?> tree) |
| Modifier and Type | Method and Description |
|---|---|
DND.TreeSource |
getTreeSource()
Returns the tree source.
|
Tree<M,?> |
getWidget()
Returns the source widget.
|
void |
setTreeSource(DND.TreeSource treeSource)
Sets the tree source (defaults to BOTH).
|
addDragCancelHandler, addDragStartHandler, addDropHandler, disable, enable, getData, getDraggable, getGroup, getStatusText, isEnabled, release, setData, setGroup, setStatusTextpublic DND.TreeSource getTreeSource()
public Tree<M,?> getWidget()
DragSourcegetWidget in class DragSourcepublic void setTreeSource(DND.TreeSource treeSource)
treeSource - the tree sourceCopyright © 2012. All Rights Reserved.