Class GeometryTransferable
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.GeometryTransferable
-
- All Implemented Interfaces:
Transferable
public class GeometryTransferable extends Object implements Transferable
-
-
Field Summary
Fields Modifier and Type Field Description static DataFlavorGEOMETRY_FLAVOR
-
Constructor Summary
Constructors Constructor Description GeometryTransferable(Geometry geom)GeometryTransferable(Geometry geom, boolean isFormatted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetTransferData(DataFlavor flavor)DataFlavor[]getTransferDataFlavors()booleanisDataFlavorSupported(DataFlavor flavor)
-
-
-
Field Detail
-
GEOMETRY_FLAVOR
public static final DataFlavor GEOMETRY_FLAVOR
-
-
Method Detail
-
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, IOException
- Specified by:
getTransferDatain interfaceTransferable- Throws:
UnsupportedFlavorExceptionIOException
-
-