This method of the DragSource Interface determines the current status of the drag operation.
public int queryDragStatus(int modifiers);
Returns a drag status flag depending on the current status of the drag session. This value can be one or more of the following drag effects:
CONTINUE, CANCEL, DROP, or DEFAULT ACTION
modifiers | A flag that indicates the drag modifier for the drag operation. It can be any one of the following drag modifiers: | ||
LBUTTON, | MBUTTON, | RBUTTON, | |
CONTROL, | SHIFT, or | ALT. |