Class Clipboard
java.lang.Object
ij.plugin.Clipboard
- All Implemented Interfaces:
PlugIn, Transferable
Copies/pastes images to/from the system clipboard.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcopyToSystem(ImagePlus imp) Copies the contents of the specified image, or selection, to the system clicpboard.getTransferData(DataFlavor flavor) booleanisDataFlavorSupported(DataFlavor flavor) voidThis method is called when the plugin is loaded.
-
Constructor Details
-
Clipboard
public Clipboard()
-
-
Method Details
-
run
-
copyToSystem
Copies the contents of the specified image, or selection, to the system clicpboard. -
getTransferDataFlavors
- Specified by:
getTransferDataFlavorsin interfaceTransferable
-
isDataFlavorSupported
- Specified by:
isDataFlavorSupportedin interfaceTransferable
-
getTransferData
- Specified by:
getTransferDatain interfaceTransferable- Throws:
UnsupportedFlavorException
-