|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.dnd.DragSource
com.extjs.gxt.ui.client.dnd.TreeDragSource
TreePanelDragSource
public class TreeDragSource
A DragSource implementation for Trees.
| Field Summary | |
|---|---|
protected TreeBinder<ModelData> |
binder
Deprecated. |
protected Tree |
tree
Deprecated. |
protected DND.TreeSource |
treeSource
Deprecated. |
| Fields inherited from class com.extjs.gxt.ui.client.dnd.DragSource |
|---|
component, data, draggable, listener, statusProxy |
| Constructor Summary | |
|---|---|
TreeDragSource(Tree tree)
Deprecated. Creates a new drag source instance. |
|
TreeDragSource(TreeBinder<ModelData> binder)
Deprecated. Creates a new drag source instance. |
|
| Method Summary | |
|---|---|
DND.TreeSource |
getTreeSource()
Deprecated. Returns the type if items that can be dragged. |
protected void |
onDragDrop(DNDEvent event)
Deprecated. |
protected void |
onDragStart(DNDEvent e)
Deprecated. Called when a drag operation begins on the target component. |
void |
setTreeSource(DND.TreeSource treeSource)
Deprecated. Sets witch 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, onDragCancelled, onDragFail, release, removeDNDListener, setData, setGroup, setStatusText |
| Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
|---|
addListener, callListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Tree tree
protected DND.TreeSource treeSource
protected TreeBinder<ModelData> binder
| Constructor Detail |
|---|
public TreeDragSource(Tree tree)
tree - the source treepublic TreeDragSource(TreeBinder<ModelData> binder)
TreeStore.getModelState(ModelData).
binder - the tree binder| Method Detail |
|---|
public DND.TreeSource getTreeSource()
public void setTreeSource(DND.TreeSource treeSource)
treeSource - the tree source typeprotected void onDragDrop(DNDEvent event)
onDragDrop in class DragSourceprotected void onDragStart(DNDEvent e)
DragSourceBaseEvent.setCancelled(boolean).
onDragStart in class DragSourcee - the dnd event
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||