Class GeometryTransferable
java.lang.Object
org.locationtech.jtstest.testbuilder.model.GeometryTransferable
- All Implemented Interfaces:
Transferable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final DataFlavor[]
private Geometry
static final DataFlavor
private boolean
-
Constructor Summary
ConstructorsConstructorDescriptionGeometryTransferable
(Geometry geom) GeometryTransferable
(Geometry geom, boolean isFormatted) -
Method Summary
Modifier and TypeMethodDescriptiongetTransferData
(DataFlavor flavor) boolean
isDataFlavorSupported
(DataFlavor flavor)
-
Field Details
-
GEOMETRY_FLAVOR
-
geom
-
isFormatted
private boolean isFormatted -
flavors
-
-
Constructor Details
-
GeometryTransferable
-
GeometryTransferable
-
-
Method Details
-
getTransferDataFlavors
- Specified by:
getTransferDataFlavors
in interfaceTransferable
-
isDataFlavorSupported
- Specified by:
isDataFlavorSupported
in interfaceTransferable
-
getTransferData
- Specified by:
getTransferData
in interfaceTransferable
- Throws:
UnsupportedFlavorException
IOException
-