public int getDropAction ()

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.

Returns:  the action chosen for the drop

Exceptions:
IllegalStateException    if this is not a drop

See also:
setDropAction, getUserDropAction, isDrop()