Package org.esa.snap.core.util
Class SystemUtils.ImageSelection
- java.lang.Object
-
- org.esa.snap.core.util.SystemUtils.ImageSelection
-
- All Implemented Interfaces:
Transferable
- Enclosing class:
- SystemUtils
public static class SystemUtils.ImageSelection extends Object implements Transferable
This class is used to hold an image while on the clipboard.
-
-
Constructor Summary
Constructors Constructor Description ImageSelection(Image image)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getTransferData(DataFlavor flavor)
DataFlavor[]
getTransferDataFlavors()
boolean
isDataFlavorSupported(DataFlavor flavor)
-
-
-
Constructor Detail
-
ImageSelection
public ImageSelection(Image image)
-
-
Method Detail
-
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interfaceTransferable
-
isDataFlavorSupported
public boolean isDataFlavorSupported(DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interfaceTransferable
-
getTransferData
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
- Specified by:
getTransferData
in interfaceTransferable
- Throws:
UnsupportedFlavorException
IOException
-
-