Class CollectionOfFeaturesTransferable
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.plugin.clipboard.AbstractTransferable
-
- org.locationtech.jts.jump.workbench.ui.plugin.clipboard.CollectionOfFeaturesTransferable
-
- All Implemented Interfaces:
Transferable
public class CollectionOfFeaturesTransferable extends AbstractTransferable
-
-
Field Summary
Fields Modifier and Type Field Description static DataFlavor
COLLECTION_OF_FEATURES_FLAVOR
A java.util.Collection, not a FeatureCollection
-
Constructor Summary
Constructors Constructor Description CollectionOfFeaturesTransferable(Collection features)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getTransferData(DataFlavor flavor)
-
Methods inherited from class org.locationtech.jts.jump.workbench.ui.plugin.clipboard.AbstractTransferable
getTransferDataFlavors, isDataFlavorSupported
-
-
-
-
Field Detail
-
COLLECTION_OF_FEATURES_FLAVOR
public static final DataFlavor COLLECTION_OF_FEATURES_FLAVOR
A java.util.Collection, not a FeatureCollection
-
-
Constructor Detail
-
CollectionOfFeaturesTransferable
public CollectionOfFeaturesTransferable(Collection features)
-
-
Method Detail
-
getTransferData
public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException
- Specified by:
getTransferData
in interfaceTransferable
- Specified by:
getTransferData
in classAbstractTransferable
- Throws:
UnsupportedFlavorException
-
-