public interface DnDContainer
This interface allows communication between the editable nodes and the drag container.
Modifier and Type | Method and Description |
---|---|
void |
clearCursor()
Clears the container's cursor - this is necessary for the
re-written DnD whcih doesn't use the system handler
|
void |
dropComplete(WorkflowNode sourceNode,
WorkflowNode dropNode)
Called when one node is dropped over another
|
java.awt.datatransfer.Transferable |
getProxy(DiagramWorkflowNode node)
Constructs the correct proxy for dragging
|
boolean |
isDropSupported()
Returns whether a node can be dropped on another in the container
|
java.awt.datatransfer.Transferable getProxy(DiagramWorkflowNode node)
node
- The node to be draggedboolean isDropSupported()
void dropComplete(WorkflowNode sourceNode, WorkflowNode dropNode)
sourceNode
- The Node being draggeddropNode
- The node dropped overvoid clearCursor()