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) boolean
isDataFlavorSupported
(DataFlavor flavor) void
lostOwnership
(Clipboard clipboard, Transferable contents)
-
Field Details
-
flavors
-
data
-
-
Constructor Details
-
JsonTransferable
-
-
Method Details
-
getTransferDataFlavors
- Specified by:
getTransferDataFlavors
in interfaceTransferable
-
isDataFlavorSupported
- Specified by:
isDataFlavorSupported
in interfaceTransferable
-
getTransferData
- Specified by:
getTransferData
in interfaceTransferable
- Throws:
UnsupportedFlavorException
-
lostOwnership
- Specified by:
lostOwnership
in interfaceClipboardOwner
-