java.lang.Object
org.autogui.swing.GuiSwingJsonTransfer.JsonTransferable
- All Implemented Interfaces:
ClipboardOwner,Transferable
- Enclosing class:
GuiSwingJsonTransfer
public static class GuiSwingJsonTransfer.JsonTransferable
extends Object
implements Transferable, ClipboardOwner
JSON transferable supporting string and "application/json"
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTransferData(DataFlavor flavor) booleanisDataFlavorSupported(DataFlavor flavor) voidlostOwnership(Clipboard clipboard, Transferable contents)
-
Field Details
-
flavors
-
data
-
-
Constructor Details
-
JsonTransferable
-
-
Method Details
-
getTransferDataFlavors
- Specified by:
getTransferDataFlavorsin interfaceTransferable
-
isDataFlavorSupported
- Specified by:
isDataFlavorSupportedin interfaceTransferable
-
getTransferData
- Specified by:
getTransferDatain interfaceTransferable- Throws:
UnsupportedFlavorException
-
lostOwnership
- Specified by:
lostOwnershipin interfaceClipboardOwner
-