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 DataFlavor
GEOMETRY_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 Object
getTransferData(DataFlavor flavor)
DataFlavor[]
getTransferDataFlavors()
boolean
isDataFlavorSupported(DataFlavor flavor)
-
-
-
Field Detail
-
GEOMETRY_FLAVOR
public static final DataFlavor GEOMETRY_FLAVOR
-
-
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
-
-