Class AbstractTransferable
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.plugin.clipboard.AbstractTransferable
-
- All Implemented Interfaces:
Transferable
- Direct Known Subclasses:
CollectionOfFeaturesTransferable
,CollectionOfLayerablesTransferable
public abstract class AbstractTransferable extends Object implements Transferable
-
-
Constructor Summary
Constructors Constructor Description AbstractTransferable(DataFlavor[] flavors)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Object
getTransferData(DataFlavor flavor)
DataFlavor[]
getTransferDataFlavors()
boolean
isDataFlavorSupported(DataFlavor flavor)
-
-
-
Constructor Detail
-
AbstractTransferable
public AbstractTransferable(DataFlavor[] flavors)
-
-
Method Detail
-
getTransferDataFlavors
public DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interfaceTransferable
-
isDataFlavorSupported
public boolean isDataFlavorSupported(DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interfaceTransferable
-
getTransferData
public abstract Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
- Specified by:
getTransferData
in interfaceTransferable
- Throws:
UnsupportedFlavorException
IOException
-
-