|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sencha.gxt.dnd.core.client.DropTarget
com.sencha.gxt.dnd.core.client.TreeGridDropTarget<M>
public class TreeGridDropTarget<M>
| Nested Class Summary | |
|---|---|
static interface |
TreeGridDropTarget.TreeGridDropTargetResources
|
| Constructor Summary | |
|---|---|
TreeGridDropTarget(TreeGrid<M> tree)
|
|
| Method Summary | |
|---|---|
TreeGrid<M> |
getWidget()
Returns the target's widget. |
boolean |
isAddChildren()
Returns true if children are being added when inserting into the TreeStore. |
boolean |
isAllowDropOnLeaf()
Returns whether drops are allowed on leaf nodes. |
boolean |
isAutoExpand()
Returns true if auto expand is enabled (defaults to true). |
boolean |
isAutoScroll()
Returns true if auto scroll is enabled (defaults to true). |
void |
setAddChildren(boolean addChildren)
True to add children when inserting models into the TreeStore (defaults to false). |
void |
setAllowDropOnLeaf(boolean allowDropOnLeaf)
True to allow drops on leaf nodes (defaults to false). |
void |
setAutoExpand(boolean autoExpand)
True to automatically expand the active tree item when the user hovers over a collapsed item (defaults to true). |
void |
setAutoExpandDelay(int autoExpandDelay)
Sets the delay used to auto expand items (defaults to 800). |
void |
setAutoScroll(boolean autoScroll)
True to automatically scroll the tree when the user hovers over the top and bottom of the tree grid (defaults to true). |
| Methods inherited from class com.sencha.gxt.dnd.core.client.DropTarget |
|---|
addDragCancelHandler, addDragEnterHandler, addDragLeaveHandler, addDragMoveHandler, addDropHandler, disable, enable, getFeedback, getGroup, getOperation, getOverStyle, isAllowSelfAsSource, isEnabled, release, setAllowSelfAsSource, setFeedback, setGroup, setOperation, setOverStyle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TreeGridDropTarget(TreeGrid<M> tree)
| Method Detail |
|---|
public TreeGrid<M> getWidget()
DropTarget
getWidget in class DropTargetpublic boolean isAddChildren()
public boolean isAllowDropOnLeaf()
public boolean isAutoExpand()
public boolean isAutoScroll()
public void setAddChildren(boolean addChildren)
addChildren - true to add childrenpublic 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 millisecondspublic void setAutoScroll(boolean autoScroll)
autoScroll - true to enable auto scrollScrollSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||