Package ghidra.program.model.data
Class DataTypeTransferable
java.lang.Object
ghidra.program.model.data.DataTypeTransferable
- All Implemented Interfaces:
ClipboardOwner
,Transferable
Defines data that is available for drag/drop and clipboard transfers.
The data is a DataType object.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the transfer data with the given data flavor.Return all data flavors that this class supports.boolean
Return whether the specifed data flavor is supported.void
lostOwnership
(Clipboard clipboard, Transferable contents) ClipboardOwner interface method.toString()
Get the string representation for this transferable.
-
Field Details
-
localDataTypeFlavor
-
localBuiltinDataTypeFlavor
-
-
Constructor Details
-
DataTypeTransferable
Constructor- Parameters:
dt
- the dataType being transfered
-
-
Method Details
-
getTransferDataFlavors
Return all data flavors that this class supports.- Specified by:
getTransferDataFlavors
in interfaceTransferable
-
isDataFlavorSupported
Return whether the specifed data flavor is supported.- Specified by:
isDataFlavorSupported
in interfaceTransferable
-
getTransferData
Return the transfer data with the given data flavor.- Specified by:
getTransferData
in interfaceTransferable
- Throws:
UnsupportedFlavorException
IOException
-
toString
Get the string representation for this transferable. -
lostOwnership
ClipboardOwner interface method.- Specified by:
lostOwnership
in interfaceClipboardOwner
-