|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.ui.treevirtual.MDragAndDropSupport
public class MDragAndDropSupport
Adds Drag & Drop support to the TreeVirtual.
Because the mixin needs to overwrite the default supportsDrop method, this mixin must be applied with “patch” instead of “include”:
qx.Class.patch(qx.ui.treevirtual.TreeVirtual,qx.ui.treevirtual.MDragAndDropSupport);
You also need the MNode Mixin:
qx.Class.include(qx.ui.treevirtual.TreeVirtual, qx.ui.treevirtual.MNode);
If you want to define your own supportsDrop method, you need to define a supportsDropCallback function in your TreeVirtual instance.
The mixin makes it very easy to create a complex drag & drop behaviour. See the tutorial here:
http://qooxdoo.org/documentation/0.7/snippets/treevirtual_draganddrop_mixin
Constructor Summary | |
---|---|
MDragAndDropSupport()
|
Method Summary | |
---|---|
void |
_applyEnableDragDrop(java.lang.Object value,
java.lang.Object old)
enables or disables drag and drop, adds event listeners and does some other initialization stuff if you want to keep this function from adding default event handling functions, add event listeners before you setEnableDragDrop(true). |
void |
_handleDragDrop()
Handles the event fired when the mouse button is released over a legitmate drop target To replace this handler, define and add your custom event listener before you setEnableDragDrop(true). |
void |
_handleDragEnd()
Handles the event fired when a drag session ends (with or without drop). |
void |
_handleDragHover(java.lang.Object event)
handles event fired when the mouse hovers over a node for a the number of milliseconds specified in the dragHoverTimeout property |
void |
_handleDragOut()
Handles the event fired when the cursor leaves the widget during a drag session. |
void |
_handleDragOver(java.lang.Object event)
Handles event fired when a drag occurs over the widget To replace this handler, define and add your custom event listener before you setEnableDragDrop(true). |
void |
_handleDragStart(java.lang.Object event)
Handles event fired whe a drag session starts. |
boolean |
_supportsDrop(java.lang.Object dragCache)
The hook to be called when widget.supportsDrop() is called. |
boolean |
checkDrop(java.lang.Object dragCache)
the main method of this mixin, providing a check on whether drop is allowed, displaying a insertion cursor for drop-between-nodes |
boolean |
getAllowDragOut()
Returns the (computed) value of the property allowDragOut . |
java.lang.Object |
getAllowDragTypes()
Returns the (computed) value of the property allowDragTypes . |
boolean |
getAllowDropBetweenNodes()
Returns the (computed) value of the property allowDropBetweenNodes . |
java.lang.Object |
getAllowDropTypes()
Returns the (computed) value of the property allowDropTypes . |
int |
getAutoScrollInterval()
Returns the (computed) value of the property autoScrollInterval . |
void |
getCellFocusIndicator()
get focus indicator widget |
java.lang.String |
getCellFocusIndicatorColor()
Returns the (computed) value of the property cellFocusIndicatorColor . |
java.lang.String |
getCellFocusIndicatorColorBetweenNodes()
Returns the (computed) value of the property cellFocusIndicatorColorBetweenNodes . |
java.lang.Object |
getDragAction()
Returns the (computed) value of the property dragAction . |
java.lang.String |
getDragDataMimeType()
Returns the (computed) value of the property dragDataMimeType . |
java.lang.String |
getDragHoverEventName()
Returns the (computed) value of the property dragHoverEventName . |
int |
getDragHoverTimeout()
Returns the (computed) value of the property dragHoverTimeout . |
java.lang.Object |
getDropData(java.lang.Object event)
gets information on the drag session after the drop has occurred |
java.lang.Object |
getDropTarget()
Returns the (computed) value of the property dropTarget . |
java.lang.Object |
getDropTargetRelativePosition()
Returns the (computed) value of the property dropTargetRelativePosition . |
boolean |
getEnableDragDrop()
Returns the (computed) value of the property enableDragDrop . |
java.lang.Object |
getNodeType(java.lang.Object nodeReference)
gets the (drag) type of a node |
boolean |
getSortAfterDrop()
Returns the (computed) value of the property sortAfterDrop . |
java.lang.Object |
getSortChildNodesBy()
Returns the (computed) value of the property sortChildNodesBy . |
void |
getTreePaneScroller()
get tree column pane scroller widget |
void |
initAllowDragOut(boolean arg)
Calls the apply method and dispatches the change event of the property allowDragOut
with the default value defined by the class developer. |
void |
initAllowDragTypes(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property allowDragTypes
with the default value defined by the class developer. |
void |
initAllowDropBetweenNodes(boolean arg)
Calls the apply method and dispatches the change event of the property allowDropBetweenNodes
with the default value defined by the class developer. |
void |
initAllowDropTypes(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property allowDropTypes
with the default value defined by the class developer. |
void |
initAutoScrollInterval(int arg)
Calls the apply method and dispatches the change event of the property autoScrollInterval
with the default value defined by the class developer. |
void |
initCellFocusIndicatorColor(java.lang.String arg)
Calls the apply method and dispatches the change event of the property cellFocusIndicatorColor
with the default value defined by the class developer. |
void |
initCellFocusIndicatorColorBetweenNodes(java.lang.String arg)
Calls the apply method and dispatches the change event of the property cellFocusIndicatorColorBetweenNodes
with the default value defined by the class developer. |
void |
initDragAction(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property dragAction
with the default value defined by the class developer. |
void |
initDragDataMimeType(java.lang.String arg)
Calls the apply method and dispatches the change event of the property dragDataMimeType
with the default value defined by the class developer. |
void |
initDragHoverEventName(java.lang.String arg)
Calls the apply method and dispatches the change event of the property dragHoverEventName
with the default value defined by the class developer. |
void |
initDragHoverTimeout(int arg)
Calls the apply method and dispatches the change event of the property dragHoverTimeout
with the default value defined by the class developer. |
void |
initDropTarget(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property dropTarget
with the default value defined by the class developer. |
void |
initDropTargetRelativePosition(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property dropTargetRelativePosition
with the default value defined by the class developer. |
void |
initEnableDragDrop(boolean arg)
Calls the apply method and dispatches the change event of the property enableDragDrop
with the default value defined by the class developer. |
void |
initSortAfterDrop(boolean arg)
Calls the apply method and dispatches the change event of the property sortAfterDrop
with the default value defined by the class developer. |
void |
initSortChildNodesBy(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property sortChildNodesBy
with the default value defined by the class developer. |
boolean |
isAllowDragOut()
Check whether the (computed) value of the boolean property allowDragOut equals true . |
boolean |
isAllowDropBetweenNodes()
Check whether the (computed) value of the boolean property allowDropBetweenNodes equals true . |
boolean |
isEnableDragDrop()
Check whether the (computed) value of the boolean property enableDragDrop equals true . |
boolean |
isSortAfterDrop()
Check whether the (computed) value of the boolean property sortAfterDrop equals true . |
void |
moveNode(java.lang.Object first,
java.lang.Object sourceNodes,
java.lang.Object targetNode,
java.lang.Integer position,
java.lang.String action)
moves or copies a node to a different place. |
void |
resetAllowDragOut()
Resets the user value of the property allowDragOut . |
void |
resetAllowDragTypes()
Resets the user value of the property allowDragTypes . |
void |
resetAllowDropBetweenNodes()
Resets the user value of the property allowDropBetweenNodes . |
void |
resetAllowDropTypes()
Resets the user value of the property allowDropTypes . |
void |
resetAutoScrollInterval()
Resets the user value of the property autoScrollInterval . |
void |
resetCellFocusIndicatorColor()
Resets the user value of the property cellFocusIndicatorColor . |
void |
resetCellFocusIndicatorColorBetweenNodes()
Resets the user value of the property cellFocusIndicatorColorBetweenNodes . |
void |
resetDragAction()
Resets the user value of the property dragAction . |
void |
resetDragDataMimeType()
Resets the user value of the property dragDataMimeType . |
void |
resetDragHoverEventName()
Resets the user value of the property dragHoverEventName . |
void |
resetDragHoverTimeout()
Resets the user value of the property dragHoverTimeout . |
void |
resetDropTarget()
Resets the user value of the property dropTarget . |
void |
resetDropTargetRelativePosition()
Resets the user value of the property dropTargetRelativePosition . |
void |
resetEnableDragDrop()
Resets the user value of the property enableDragDrop . |
void |
resetSortAfterDrop()
Resets the user value of the property sortAfterDrop . |
void |
resetSortChildNodesBy()
Resets the user value of the property sortChildNodesBy . |
void |
setAllowDragOut(boolean arg)
Sets the user value of the property allowDragOut . |
void |
setAllowDragTypes(java.lang.Object arg)
Sets the user value of the property allowDragTypes . |
void |
setAllowDropBetweenNodes(boolean arg)
Sets the user value of the property allowDropBetweenNodes . |
void |
setAllowDropTypes(java.lang.Object arg)
Sets the user value of the property allowDropTypes . |
void |
setAutoScrollInterval(int arg)
Sets the user value of the property autoScrollInterval . |
void |
setCellFocusIndicatorColor(java.lang.String arg)
Sets the user value of the property cellFocusIndicatorColor . |
void |
setCellFocusIndicatorColorBetweenNodes(java.lang.String arg)
Sets the user value of the property cellFocusIndicatorColorBetweenNodes . |
void |
setDragAction(java.lang.Object arg)
Sets the user value of the property dragAction . |
void |
setDragDataMimeType(java.lang.String arg)
Sets the user value of the property dragDataMimeType . |
void |
setDragHoverEventName(java.lang.String arg)
Sets the user value of the property dragHoverEventName . |
void |
setDragHoverTimeout(int arg)
Sets the user value of the property dragHoverTimeout . |
void |
setDropTarget(java.lang.Object arg)
Sets the user value of the property dropTarget . |
void |
setDropTargetRelativePosition(java.lang.Object arg)
Sets the user value of the property dropTargetRelativePosition . |
void |
setEnableDragDrop(boolean arg)
Sets the user value of the property enableDragDrop . |
void |
setNodeType(java.lang.Object nodeReference,
java.lang.String type)
sets the (drag) type of a node |
void |
setShowRowFocusIndicator(java.lang.Object value)
shorthand method for setting a row focus indicator |
void |
setSortAfterDrop(boolean arg)
Sets the user value of the property sortAfterDrop . |
void |
setSortChildNodesBy(java.lang.Object arg)
Sets the user value of the property sortChildNodesBy . |
void |
sortChildNodes(java.lang.Object nodeReference,
boolean recurse)
sorts child nodes according to sortChildNodesBy property |
boolean |
toggleAllowDragOut()
Toggles the (computed) value of the boolean property allowDragOut . |
boolean |
toggleAllowDropBetweenNodes()
Toggles the (computed) value of the boolean property allowDropBetweenNodes . |
boolean |
toggleEnableDragDrop()
Toggles the (computed) value of the boolean property enableDragDrop . |
boolean |
toggleSortAfterDrop()
Toggles the (computed) value of the boolean property sortAfterDrop . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MDragAndDropSupport()
Method Detail |
---|
public void _applyEnableDragDrop(java.lang.Object value, java.lang.Object old)
enables or disables drag and drop, adds event listeners and does some other initialization stuff if you want to keep this function from adding default event handling functions, add event listeners before you setEnableDragDrop(true).
public void _handleDragDrop()
Handles the event fired when the mouse button is released over a legitmate drop target To replace this handler, define and add your custom event listener before you setEnableDragDrop(true).
public void _handleDragEnd()
Handles the event fired when a drag session ends (with or without drop). To replace this handler, define and add your custom event listener before you setEnableDragDrop(true).
public void _handleDragHover(java.lang.Object event)
handles event fired when the mouse hovers over a node for a the number of milliseconds specified in the dragHoverTimeout property
public void _handleDragOut()
Handles the event fired when the cursor leaves the widget during a drag session. To replace this handler, define and add your custom event listener before you setEnableDragDrop(true).
public void _handleDragOver(java.lang.Object event)
Handles event fired when a drag occurs over the widget To replace this handler, define and add your custom event listener before you setEnableDragDrop(true).
public void _handleDragStart(java.lang.Object event)
Handles event fired whe a drag session starts. To replace this handler, define and add your custom event listener before you setEnableDragDrop(true).
public boolean _supportsDrop(java.lang.Object dragCache)
The hook to be called when widget.supportsDrop() is called. This is set in the constructor via this.setSupportsDropMethod(this._supportDrop)
You can hook in your custom supportsDrop method by defining a supportsDropCallback function in your TreeVirtual instance. Both must return true for a drop to be allowed.
public boolean checkDrop(java.lang.Object dragCache)
the main method of this mixin, providing a check on whether drop is allowed, displaying a insertion cursor for drop-between-nodes
public boolean getAllowDragOut()
Returns the (computed) value of the property allowDragOut
.
For further details take a look at the property definition: allowDragOut
.
public java.lang.Object getAllowDragTypes()
Returns the (computed) value of the property allowDragTypes
.
For further details take a look at the property definition: allowDragTypes
.
public boolean getAllowDropBetweenNodes()
Returns the (computed) value of the property allowDropBetweenNodes
.
For further details take a look at the property definition: allowDropBetweenNodes
.
public java.lang.Object getAllowDropTypes()
Returns the (computed) value of the property allowDropTypes
.
For further details take a look at the property definition: allowDropTypes
.
public int getAutoScrollInterval()
Returns the (computed) value of the property autoScrollInterval
.
For further details take a look at the property definition: autoScrollInterval
.
public void getCellFocusIndicator()
get focus indicator widget
public java.lang.String getCellFocusIndicatorColor()
Returns the (computed) value of the property cellFocusIndicatorColor
.
For further details take a look at the property definition: cellFocusIndicatorColor
.
public java.lang.String getCellFocusIndicatorColorBetweenNodes()
Returns the (computed) value of the property cellFocusIndicatorColorBetweenNodes
.
For further details take a look at the property definition: cellFocusIndicatorColorBetweenNodes
.
public java.lang.Object getDragAction()
Returns the (computed) value of the property dragAction
.
For further details take a look at the property definition: dragAction
.
public java.lang.String getDragDataMimeType()
Returns the (computed) value of the property dragDataMimeType
.
For further details take a look at the property definition: dragDataMimeType
.
public java.lang.String getDragHoverEventName()
Returns the (computed) value of the property dragHoverEventName
.
For further details take a look at the property definition: dragHoverEventName
.
public int getDragHoverTimeout()
Returns the (computed) value of the property dragHoverTimeout
.
For further details take a look at the property definition: dragHoverTimeout
.
public java.lang.Object getDropData(java.lang.Object event)
gets information on the drag session after the drop has occurred
public java.lang.Object getDropTarget()
Returns the (computed) value of the property dropTarget
.
For further details take a look at the property definition: dropTarget
.
public java.lang.Object getDropTargetRelativePosition()
Returns the (computed) value of the property dropTargetRelativePosition
.
For further details take a look at the property definition: dropTargetRelativePosition
.
public boolean getEnableDragDrop()
Returns the (computed) value of the property enableDragDrop
.
For further details take a look at the property definition: enableDragDrop
.
public java.lang.Object getNodeType(java.lang.Object nodeReference)
gets the (drag) type of a node
public boolean getSortAfterDrop()
Returns the (computed) value of the property sortAfterDrop
.
For further details take a look at the property definition: sortAfterDrop
.
public java.lang.Object getSortChildNodesBy()
Returns the (computed) value of the property sortChildNodesBy
.
For further details take a look at the property definition: sortChildNodesBy
.
public void getTreePaneScroller()
get tree column pane scroller widget
public void initAllowDragOut(boolean arg)
Calls the apply method and dispatches the change event of the property allowDragOut
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: allowDragOut
.
public void initAllowDragTypes(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property allowDragTypes
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: allowDragTypes
.
public void initAllowDropBetweenNodes(boolean arg)
Calls the apply method and dispatches the change event of the property allowDropBetweenNodes
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: allowDropBetweenNodes
.
public void initAllowDropTypes(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property allowDropTypes
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: allowDropTypes
.
public void initAutoScrollInterval(int arg)
Calls the apply method and dispatches the change event of the property autoScrollInterval
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: autoScrollInterval
.
public void initCellFocusIndicatorColor(java.lang.String arg)
Calls the apply method and dispatches the change event of the property cellFocusIndicatorColor
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: cellFocusIndicatorColor
.
public void initCellFocusIndicatorColorBetweenNodes(java.lang.String arg)
Calls the apply method and dispatches the change event of the property cellFocusIndicatorColorBetweenNodes
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: cellFocusIndicatorColorBetweenNodes
.
public void initDragAction(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property dragAction
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: dragAction
.
public void initDragDataMimeType(java.lang.String arg)
Calls the apply method and dispatches the change event of the property dragDataMimeType
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: dragDataMimeType
.
public void initDragHoverEventName(java.lang.String arg)
Calls the apply method and dispatches the change event of the property dragHoverEventName
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: dragHoverEventName
.
public void initDragHoverTimeout(int arg)
Calls the apply method and dispatches the change event of the property dragHoverTimeout
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: dragHoverTimeout
.
public void initDropTarget(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property dropTarget
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: dropTarget
.
public void initDropTargetRelativePosition(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property dropTargetRelativePosition
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: dropTargetRelativePosition
.
public void initEnableDragDrop(boolean arg)
Calls the apply method and dispatches the change event of the property enableDragDrop
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: enableDragDrop
.
public void initSortAfterDrop(boolean arg)
Calls the apply method and dispatches the change event of the property sortAfterDrop
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: sortAfterDrop
.
public void initSortChildNodesBy(java.lang.Object arg)
Calls the apply method and dispatches the change event of the property sortChildNodesBy
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: sortChildNodesBy
.
public boolean isAllowDragOut()
Check whether the (computed) value of the boolean property allowDragOut
equals true
.
For further details take a look at the property definition: allowDragOut
.
public boolean isAllowDropBetweenNodes()
Check whether the (computed) value of the boolean property allowDropBetweenNodes
equals true
.
For further details take a look at the property definition: allowDropBetweenNodes
.
public boolean isEnableDragDrop()
Check whether the (computed) value of the boolean property enableDragDrop
equals true
.
For further details take a look at the property definition: enableDragDrop
.
public boolean isSortAfterDrop()
Check whether the (computed) value of the boolean property sortAfterDrop
equals true
.
For further details take a look at the property definition: sortAfterDrop
.
public void moveNode(java.lang.Object first, java.lang.Object sourceNodes, java.lang.Object targetNode, java.lang.Integer position, java.lang.String action)
moves or copies a node to a different place. if you supply only one argument, it is treated as the result of the getDropData() method. Otherwise use the parameter list below.
public void resetAllowDragOut()
Resets the user value of the property allowDragOut
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: allowDragOut
.
public void resetAllowDragTypes()
Resets the user value of the property allowDragTypes
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: allowDragTypes
.
public void resetAllowDropBetweenNodes()
Resets the user value of the property allowDropBetweenNodes
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: allowDropBetweenNodes
.
public void resetAllowDropTypes()
Resets the user value of the property allowDropTypes
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: allowDropTypes
.
public void resetAutoScrollInterval()
Resets the user value of the property autoScrollInterval
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: autoScrollInterval
.
public void resetCellFocusIndicatorColor()
Resets the user value of the property cellFocusIndicatorColor
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: cellFocusIndicatorColor
.
public void resetCellFocusIndicatorColorBetweenNodes()
Resets the user value of the property cellFocusIndicatorColorBetweenNodes
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: cellFocusIndicatorColorBetweenNodes
.
public void resetDragAction()
Resets the user value of the property dragAction
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: dragAction
.
public void resetDragDataMimeType()
Resets the user value of the property dragDataMimeType
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: dragDataMimeType
.
public void resetDragHoverEventName()
Resets the user value of the property dragHoverEventName
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: dragHoverEventName
.
public void resetDragHoverTimeout()
Resets the user value of the property dragHoverTimeout
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: dragHoverTimeout
.
public void resetDropTarget()
Resets the user value of the property dropTarget
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: dropTarget
.
public void resetDropTargetRelativePosition()
Resets the user value of the property dropTargetRelativePosition
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: dropTargetRelativePosition
.
public void resetEnableDragDrop()
Resets the user value of the property enableDragDrop
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: enableDragDrop
.
public void resetSortAfterDrop()
Resets the user value of the property sortAfterDrop
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: sortAfterDrop
.
public void resetSortChildNodesBy()
Resets the user value of the property sortChildNodesBy
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: sortChildNodesBy
.
public void setAllowDragOut(boolean arg)
Sets the user value of the property allowDragOut
.
For further details take a look at the property definition: allowDragOut
.
public void setAllowDragTypes(java.lang.Object arg)
Sets the user value of the property allowDragTypes
.
For further details take a look at the property definition: allowDragTypes
.
public void setAllowDropBetweenNodes(boolean arg)
Sets the user value of the property allowDropBetweenNodes
.
For further details take a look at the property definition: allowDropBetweenNodes
.
public void setAllowDropTypes(java.lang.Object arg)
Sets the user value of the property allowDropTypes
.
For further details take a look at the property definition: allowDropTypes
.
public void setAutoScrollInterval(int arg)
Sets the user value of the property autoScrollInterval
.
For further details take a look at the property definition: autoScrollInterval
.
public void setCellFocusIndicatorColor(java.lang.String arg)
Sets the user value of the property cellFocusIndicatorColor
.
For further details take a look at the property definition: cellFocusIndicatorColor
.
public void setCellFocusIndicatorColorBetweenNodes(java.lang.String arg)
Sets the user value of the property cellFocusIndicatorColorBetweenNodes
.
For further details take a look at the property definition: cellFocusIndicatorColorBetweenNodes
.
public void setDragAction(java.lang.Object arg)
Sets the user value of the property dragAction
.
For further details take a look at the property definition: dragAction
.
public void setDragDataMimeType(java.lang.String arg)
Sets the user value of the property dragDataMimeType
.
For further details take a look at the property definition: dragDataMimeType
.
public void setDragHoverEventName(java.lang.String arg)
Sets the user value of the property dragHoverEventName
.
For further details take a look at the property definition: dragHoverEventName
.
public void setDragHoverTimeout(int arg)
Sets the user value of the property dragHoverTimeout
.
For further details take a look at the property definition: dragHoverTimeout
.
public void setDropTarget(java.lang.Object arg)
Sets the user value of the property dropTarget
.
For further details take a look at the property definition: dropTarget
.
public void setDropTargetRelativePosition(java.lang.Object arg)
Sets the user value of the property dropTargetRelativePosition
.
For further details take a look at the property definition: dropTargetRelativePosition
.
public void setEnableDragDrop(boolean arg)
Sets the user value of the property enableDragDrop
.
For further details take a look at the property definition: enableDragDrop
.
public void setNodeType(java.lang.Object nodeReference, java.lang.String type)
sets the (drag) type of a node
public void setShowRowFocusIndicator(java.lang.Object value)
shorthand method for setting a row focus indicator
public void setSortAfterDrop(boolean arg)
Sets the user value of the property sortAfterDrop
.
For further details take a look at the property definition: sortAfterDrop
.
public void setSortChildNodesBy(java.lang.Object arg)
Sets the user value of the property sortChildNodesBy
.
For further details take a look at the property definition: sortChildNodesBy
.
public void sortChildNodes(java.lang.Object nodeReference, boolean recurse)
sorts child nodes according to sortChildNodesBy property
public boolean toggleAllowDragOut()
Toggles the (computed) value of the boolean property allowDragOut
.
For further details take a look at the property definition: allowDragOut
.
public boolean toggleAllowDropBetweenNodes()
Toggles the (computed) value of the boolean property allowDropBetweenNodes
.
For further details take a look at the property definition: allowDropBetweenNodes
.
public boolean toggleEnableDragDrop()
Toggles the (computed) value of the boolean property enableDragDrop
.
For further details take a look at the property definition: enableDragDrop
.
public boolean toggleSortAfterDrop()
Toggles the (computed) value of the boolean property sortAfterDrop
.
For further details take a look at the property definition: sortAfterDrop
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |