Returns the action chosen for the drop, when this
TransferSupport represents a drop.
Unless explicitly chosen by way of setDropAction,
this returns the user drop action provided by
getUserDropAction.
You may wish to query this in TransferHandler's
importData method to customize processing based
on the action.
This method is only for use with drag and drop transfers.
Calling it when isDrop() is false results
in an IllegalStateException.
IllegalStateException | if this is not a drop |
setDropAction, getUserDropAction, isDrop()
Diagram: TransferHandler