qx.ui.treevirtual
Class MDragAndDropSupport

java.lang.Object
  extended by qx.ui.treevirtual.MDragAndDropSupport

public class MDragAndDropSupport
extends java.lang.Object

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

MDragAndDropSupport

public MDragAndDropSupport()
Method Detail

_applyEnableDragDrop

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).


_handleDragDrop

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).


_handleDragEnd

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).


_handleDragHover

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


_handleDragOut

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).


_handleDragOver

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).


_handleDragStart

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).


_supportsDrop

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.


checkDrop

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


getAllowDragOut

public boolean getAllowDragOut()

Returns the (computed) value of the property allowDragOut.

For further details take a look at the property definition: allowDragOut.


getAllowDragTypes

public java.lang.Object getAllowDragTypes()

Returns the (computed) value of the property allowDragTypes.

For further details take a look at the property definition: allowDragTypes.


getAllowDropBetweenNodes

public boolean getAllowDropBetweenNodes()

Returns the (computed) value of the property allowDropBetweenNodes.

For further details take a look at the property definition: allowDropBetweenNodes.


getAllowDropTypes

public java.lang.Object getAllowDropTypes()

Returns the (computed) value of the property allowDropTypes.

For further details take a look at the property definition: allowDropTypes.


getAutoScrollInterval

public int getAutoScrollInterval()

Returns the (computed) value of the property autoScrollInterval.

For further details take a look at the property definition: autoScrollInterval.


getCellFocusIndicator

public void getCellFocusIndicator()

get focus indicator widget


getCellFocusIndicatorColor

public java.lang.String getCellFocusIndicatorColor()

Returns the (computed) value of the property cellFocusIndicatorColor.

For further details take a look at the property definition: cellFocusIndicatorColor.


getCellFocusIndicatorColorBetweenNodes

public java.lang.String getCellFocusIndicatorColorBetweenNodes()

Returns the (computed) value of the property cellFocusIndicatorColorBetweenNodes.

For further details take a look at the property definition: cellFocusIndicatorColorBetweenNodes.


getDragAction

public java.lang.Object getDragAction()

Returns the (computed) value of the property dragAction.

For further details take a look at the property definition: dragAction.


getDragDataMimeType

public java.lang.String getDragDataMimeType()

Returns the (computed) value of the property dragDataMimeType.

For further details take a look at the property definition: dragDataMimeType.


getDragHoverEventName

public java.lang.String getDragHoverEventName()

Returns the (computed) value of the property dragHoverEventName.

For further details take a look at the property definition: dragHoverEventName.


getDragHoverTimeout

public int getDragHoverTimeout()

Returns the (computed) value of the property dragHoverTimeout.

For further details take a look at the property definition: dragHoverTimeout.


getDropData

public java.lang.Object getDropData(java.lang.Object event)

gets information on the drag session after the drop has occurred


getDropTarget

public java.lang.Object getDropTarget()

Returns the (computed) value of the property dropTarget.

For further details take a look at the property definition: dropTarget.


getDropTargetRelativePosition

public java.lang.Object getDropTargetRelativePosition()

Returns the (computed) value of the property dropTargetRelativePosition.

For further details take a look at the property definition: dropTargetRelativePosition.


getEnableDragDrop

public boolean getEnableDragDrop()

Returns the (computed) value of the property enableDragDrop.

For further details take a look at the property definition: enableDragDrop.


getNodeType

public java.lang.Object getNodeType(java.lang.Object nodeReference)

gets the (drag) type of a node


getSortAfterDrop

public boolean getSortAfterDrop()

Returns the (computed) value of the property sortAfterDrop.

For further details take a look at the property definition: sortAfterDrop.


getSortChildNodesBy

public java.lang.Object getSortChildNodesBy()

Returns the (computed) value of the property sortChildNodesBy.

For further details take a look at the property definition: sortChildNodesBy.


getTreePaneScroller

public void getTreePaneScroller()

get tree column pane scroller widget


initAllowDragOut

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.


initAllowDragTypes

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.


initAllowDropBetweenNodes

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.


initAllowDropTypes

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.


initAutoScrollInterval

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.


initCellFocusIndicatorColor

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.


initCellFocusIndicatorColorBetweenNodes

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.


initDragAction

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.


initDragDataMimeType

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.


initDragHoverEventName

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.


initDragHoverTimeout

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.


initDropTarget

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.


initDropTargetRelativePosition

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.


initEnableDragDrop

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.


initSortAfterDrop

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.


initSortChildNodesBy

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.


isAllowDragOut

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.


isAllowDropBetweenNodes

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.


isEnableDragDrop

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.


isSortAfterDrop

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.


moveNode

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.


resetAllowDragOut

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.


resetAllowDragTypes

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.


resetAllowDropBetweenNodes

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.


resetAllowDropTypes

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.


resetAutoScrollInterval

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.


resetCellFocusIndicatorColor

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.


resetCellFocusIndicatorColorBetweenNodes

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.


resetDragAction

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.


resetDragDataMimeType

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.


resetDragHoverEventName

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.


resetDragHoverTimeout

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.


resetDropTarget

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.


resetDropTargetRelativePosition

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.


resetEnableDragDrop

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.


resetSortAfterDrop

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.


resetSortChildNodesBy

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.


setAllowDragOut

public void setAllowDragOut(boolean arg)

Sets the user value of the property allowDragOut.

For further details take a look at the property definition: allowDragOut.


setAllowDragTypes

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.


setAllowDropBetweenNodes

public void setAllowDropBetweenNodes(boolean arg)

Sets the user value of the property allowDropBetweenNodes.

For further details take a look at the property definition: allowDropBetweenNodes.


setAllowDropTypes

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.


setAutoScrollInterval

public void setAutoScrollInterval(int arg)

Sets the user value of the property autoScrollInterval.

For further details take a look at the property definition: autoScrollInterval.


setCellFocusIndicatorColor

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.


setCellFocusIndicatorColorBetweenNodes

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.


setDragAction

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.


setDragDataMimeType

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.


setDragHoverEventName

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.


setDragHoverTimeout

public void setDragHoverTimeout(int arg)

Sets the user value of the property dragHoverTimeout.

For further details take a look at the property definition: dragHoverTimeout.


setDropTarget

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.


setDropTargetRelativePosition

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.


setEnableDragDrop

public void setEnableDragDrop(boolean arg)

Sets the user value of the property enableDragDrop.

For further details take a look at the property definition: enableDragDrop.


setNodeType

public void setNodeType(java.lang.Object nodeReference,
                        java.lang.String type)

sets the (drag) type of a node


setShowRowFocusIndicator

public void setShowRowFocusIndicator(java.lang.Object value)

shorthand method for setting a row focus indicator


setSortAfterDrop

public void setSortAfterDrop(boolean arg)

Sets the user value of the property sortAfterDrop.

For further details take a look at the property definition: sortAfterDrop.


setSortChildNodesBy

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.


sortChildNodes

public void sortChildNodes(java.lang.Object nodeReference,
                           boolean recurse)

sorts child nodes according to sortChildNodesBy property


toggleAllowDragOut

public boolean toggleAllowDragOut()

Toggles the (computed) value of the boolean property allowDragOut.

For further details take a look at the property definition: allowDragOut.


toggleAllowDropBetweenNodes

public boolean toggleAllowDropBetweenNodes()

Toggles the (computed) value of the boolean property allowDropBetweenNodes.

For further details take a look at the property definition: allowDropBetweenNodes.


toggleEnableDragDrop

public boolean toggleEnableDragDrop()

Toggles the (computed) value of the boolean property enableDragDrop.

For further details take a look at the property definition: enableDragDrop.


toggleSortAfterDrop

public boolean toggleSortAfterDrop()

Toggles the (computed) value of the boolean property sortAfterDrop.

For further details take a look at the property definition: sortAfterDrop.



Copyright © 2008 1&1. All Rights Reserved.