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 void
copyToSystem
(ImagePlus imp) Copies the contents of the specified image, or selection, to the system clicpboard.getTransferData
(DataFlavor flavor) boolean
isDataFlavorSupported
(DataFlavor flavor) void
This method is called when the plugin is loaded.
-
Constructor Details
-
Clipboard
public Clipboard()
-
-
Method Details
-
run
Description copied from interface:PlugIn
This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt. -
copyToSystem
Copies the contents of the specified image, or selection, to the system clicpboard. -
getTransferDataFlavors
- Specified by:
getTransferDataFlavors
in interfaceTransferable
-
isDataFlavorSupported
- Specified by:
isDataFlavorSupported
in interfaceTransferable
-
getTransferData
- Specified by:
getTransferData
in interfaceTransferable
- Throws:
UnsupportedFlavorException
-