- java.lang.Object
-
- ij.plugin.Clipboard
-
- All Implemented Interfaces:
PlugIn,Transferable
public class Clipboard extends Object implements PlugIn, Transferable
Copies/pastes images to/from the system clipboard.
-
-
Constructor Summary
Constructors Constructor Description Clipboard()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcopyToSystem(ImagePlus imp)Copies the contents of the specified image, or selection, to the system clicpboard.ObjectgetTransferData(DataFlavor flavor)DataFlavor[]getTransferDataFlavors()booleanisDataFlavorSupported(DataFlavor flavor)voidrun(String arg)This method is called when the plugin is loaded.
-
-
-
Method Detail
-
run
public void run(String arg)
Description copied from interface:PlugInThis 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
public static void copyToSystem(ImagePlus imp)
Copies the contents of the specified image, or selection, to the system clicpboard.
-
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavorsin interfaceTransferable
-
isDataFlavorSupported
public boolean isDataFlavorSupported(DataFlavor flavor)
- Specified by:
isDataFlavorSupportedin interfaceTransferable
-
getTransferData
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException
- Specified by:
getTransferDatain interfaceTransferable- Throws:
UnsupportedFlavorException
-
-