Interface IExplorerTreeNodeDragDrop
public interface IExplorerTreeNodeDragDrop
The interface that must be implemented if a TreeNode is to accept drag/drop events using the
TreeNodeTransfer data type
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
dropAction
(int action, DragDropTreeNode dragDropTreeNode) Carry out the specified drop action using the specified DragDropTreeNodeboolean
dropAction
(int action, TreeNode treeNode) Carry out the specified drop action using the specified TreeNodeint
getAcceptedOperations
(TreeNode treeNode) Return the drag and drop operations that are accepted by this target for the specified TreeNode
-
Field Details
-
COPYRIGHT_NOTICE
Common copyright notice- See Also:
-
SCCSID
CMVC descriptors - expanded during extraction- See Also:
-
-
Method Details
-
getAcceptedOperations
Return the drag and drop operations that are accepted by this target for the specified TreeNode- Parameters:
treeNode
- the TreeNode to use- Returns:
- int the acceptable operations (DND.DROP_NONE or combination of DND.DROP_MOVE and/or DND.DROP_COPY)
-
dropAction
Carry out the specified drop action using the specified TreeNode- Parameters:
action
- the action to take (DND.DROP_MOVE or DND.DROP_COPY)treeNode
- the TreeNode being dropped- Returns:
- boolean true if the action is successful, false otherwise
-
dropAction
Carry out the specified drop action using the specified DragDropTreeNode- Parameters:
action
- the action to take (DND.DROP_MOVE or DND.DROP_COPY)dragDropTreeNode
- the DragDropTreeNode representing the TreeNode being dropped- Returns:
- boolean true if the action is successful, false otherwise
-