public class DefaultTreeTransferHandler extends AbstractTreeTransferHandler
Constructor and Description |
---|
DefaultTreeTransferHandler(Project project,
DNDTree tree,
int action) |
Modifier and Type | Method and Description |
---|---|
boolean |
canPerformAction(DNDTree target,
DefaultMutableTreeNode dragged_node,
int action,
Point location) |
void |
destroy() |
boolean |
executeDrop(DNDTree target,
DefaultMutableTreeNode dragged_node,
DefaultMutableTreeNode new_parent_node,
int action) |
dragDropEnd, dragEnter, dragEnter, dragExit, dragExit, dragGestureRecognized, dragOver, dragOver, drop, dropActionChanged, dropActionChanged
public boolean canPerformAction(DNDTree target, DefaultMutableTreeNode dragged_node, int action, Point location)
canPerformAction
in class AbstractTreeTransferHandler
public boolean executeDrop(DNDTree target, DefaultMutableTreeNode dragged_node, DefaultMutableTreeNode new_parent_node, int action)
executeDrop
in class AbstractTreeTransferHandler
public void destroy()
destroy
in class AbstractTreeTransferHandler
Copyright © 2015–2021 Fiji. All rights reserved.