Package com.nomagic.magicdraw.ui.dnd
Class DroppedData
java.lang.Object
com.nomagic.magicdraw.ui.dnd.DroppedData
Wraps essential info from
TransferHandler.TransferSupport
to make it accessible after drop is complete-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
-
Constructor Details
-
DroppedData
- Parameters:
transferredData
- data extracted fromTransferHandler.TransferSupport
dropAction
- one of transfer handler actionsdropPoint
- point on screen where the drag finished and was dropped
-
-
Method Details
-
getTransferredData
- Returns:
- data extracted from
TransferHandler.TransferSupport
-
getDropPoint
- Returns:
- point on screen where the drag finished and was dropped
-
getDropAction
public int getDropAction()- Returns:
- one of transfer handler actions
TransferHandler.NONE
TransferHandler.LINK
TransferHandler.MOVE
TransferHandler.COPY
TransferHandler.COPY_OR_MOVE
-