Package ghidra.framework.main.datatree
Class VersionInfoTransferable
- java.lang.Object
-
- ghidra.framework.main.datatree.VersionInfoTransferable
-
- All Implemented Interfaces:
java.awt.datatransfer.ClipboardOwner
,java.awt.datatransfer.Transferable
public class VersionInfoTransferable extends java.lang.Object implements java.awt.datatransfer.Transferable, java.awt.datatransfer.ClipboardOwner
Defines a transferable
-
-
Field Summary
Fields Modifier and Type Field Description static java.awt.datatransfer.DataFlavor
localVersionInfoFlavor
DataFlavor for VersionInfoTransferable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getTransferData(java.awt.datatransfer.DataFlavor flavor)
java.awt.datatransfer.DataFlavor[]
getTransferDataFlavors()
boolean
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
void
lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
java.lang.String
toString()
Get the string representation for this transferable.
-
-
-
Method Detail
-
getTransferDataFlavors
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interfacejava.awt.datatransfer.Transferable
-
isDataFlavorSupported
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interfacejava.awt.datatransfer.Transferable
-
getTransferData
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor) throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
- Specified by:
getTransferData
in interfacejava.awt.datatransfer.Transferable
- Throws:
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException
-
lostOwnership
public void lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
- Specified by:
lostOwnership
in interfacejava.awt.datatransfer.ClipboardOwner
-
toString
public java.lang.String toString()
Get the string representation for this transferable.- Overrides:
toString
in classjava.lang.Object
-
-