|
|||||||||
| 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.DropTarget
com.extjs.gxt.ui.client.dnd.TreeDropTarget
TreePanelDropTarget
public class TreeDropTarget
A DropTarget implementation for Trees.
| Constructor Summary | |
|---|---|
TreeDropTarget(Tree tree)
Deprecated. Creates a new tree drop target. |
|
TreeDropTarget(TreeBinder<ModelData> binder)
Deprecated. Creates a new tree drop target. |
|
| Method Summary | |
|---|---|
int |
getAutoExpandDelay()
Deprecated. Returns the auto expand delay in milliseconds. |
TreeBinder<ModelData> |
getBinder()
Deprecated. Returns the target's tree binder. |
Tree |
getTree()
Deprecated. Returns the target's tree. |
boolean |
isAllowDropOnLeaf()
Deprecated. Returns whether drops are allowed on leaf nodes. |
boolean |
isAutoExpand()
Deprecated. Returns true if auto expand is enabled. |
void |
setAllowDropOnLeaf(boolean allowDropOnLeaf)
Deprecated. True to allow drops on leaf nodes (defaults to false). |
void |
setAutoExpand(boolean autoExpand)
Deprecated. True to automatically expand the active tree item when the user hovers over a collapsed item (defaults to true). |
void |
setAutoExpandDelay(int autoExpandDelay)
Deprecated. Sets the delay used to auto expand items (defualts to 800). |
| Methods inherited from class com.extjs.gxt.ui.client.dnd.DropTarget |
|---|
addDNDListener, disable, enable, getComponent, getFeedback, getGroup, getOperation, getOverStyle, isAllowSelfAsSource, isEnabled, release, removeDNDListener, setAllowSelfAsSource, setFeedback, setGroup, setOperation, setOverStyle |
| 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 |
|---|
public TreeDropTarget(Tree tree)
tree - the target treepublic TreeDropTarget(TreeBinder<ModelData> binder)
binder - the target tree binder| Method Detail |
|---|
public int getAutoExpandDelay()
public TreeBinder<ModelData> getBinder()
public Tree getTree()
public boolean isAllowDropOnLeaf()
public boolean isAutoExpand()
public void setAllowDropOnLeaf(boolean allowDropOnLeaf)
allowDropOnLeaf - true to enable drops on leaf nodespublic void setAutoExpand(boolean autoExpand)
setAutoExpandDelay(int)
to set the delay.
autoExpand - true to auto expandpublic void setAutoExpandDelay(int autoExpandDelay)
autoExpandDelay - the delay in milliseconds
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||