Class TLcyMapDataFlavor
ILcdGXYView
's, ILcdGXYLayer
's and ILcdModel
's.
DropTargetListener
s and DragGestureListener
s must support GXY_VIEW_DATA_FLAVOR
, GXY_LAYER_DATA_FLAVOR
and/or MODEL_DATA_FLAVOR
data
flavors when they want to drag and drop ILcdGXYView
's, ILcdGXYLayer
's
and ILcdModel
's.
A Lightspeed variant (see TLcyLspMapDataFlavor
) of this class is available as well.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DataFlavor
This data flavor represents data as general shapes.static final DataFlavor
DataFlavor
that represents a singleILcdGXYLayer
.static final DataFlavor
DataFlavor
that represents multipleILcdGXYLayer
s.static final DataFlavor
DataFlavor
that representsILcdGXYView
's.static final DataFlavor
DataFlavor
that represents multipleILcdLayer
s.static final DataFlavor
DataFlavor
that represents a singleILcdModel
.static final DataFlavor
DataFlavor
that represents multipleILcdModel
s.static final DataFlavor
DataFlavor
that representsILcdView
's. -
Method Summary
-
Field Details
-
LAYERS_DATA_FLAVOR
DataFlavor
that represents multipleILcdLayer
s. The transfer data for this constant will be an array ofILcdLayer
s. It is not guaranteed that all layers will be of the same class, only that they all implementILcdLayer
.Note that one should never rely on the properties (e.g.
LAYER_DATA_FLAVOR.getMimeType()
) of this constant as they might change in a future version of Lucy. Instead one should always compare directly with this constant. -
VIEW_DATA_FLAVOR
DataFlavor
that representsILcdView
's. The transfer data for this constant will be anILcdView
. It is not guaranteed that this is an instance ofILcdGXYView
. UseGXY_VIEW_DATA_FLAVOR
for that particular case. Note that one should never rely on the properties (e.g.VIEW_DATA_FLAVOR.getMimeType()
) of this constant as they might change in a future version of Lucy. Instead one should always compare directly with this constant. -
GXY_VIEW_DATA_FLAVOR
DataFlavor
that representsILcdGXYView
's. The transfer data for this constant will be aILcdGXYView
. Note that one should never rely on the properties (e.g.GXY_VIEW_DATA_FLAVOR.getMimeType()
) of this constant as they might change in a future version of Lucy. Instead one should always compare directly with this constant. -
GXY_LAYER_DATA_FLAVOR
DataFlavor
that represents a singleILcdGXYLayer
. The transfer data for this constant will be aILcdGXYLayer
. Note that one should never rely on the properties (e.g.GXY_LAYER_DATA_FLAVOR.getMimeType()
) of this constant as they might change in a future version of Lucy. Instead one should always compare directly with this constant. -
MODEL_DATA_FLAVOR
DataFlavor
that represents a singleILcdModel
. The transfer data for this constant will be aILcdModel
. Note that one should never rely on the properties (e.g.MODEL_DATA_FLAVOR.getMimeType()
) of this constant as they might change in a future version of Lucy. Instead one should always compare directly with this constant. -
MODELS_DATA_FLAVOR
DataFlavor
that represents multipleILcdModel
s. The transfer data for this constant will be an array ofILcdModel
s. Note that one should never rely on the properties (e.g.MODELS_DATA_FLAVOR.getMimeType()
) of this constant as they might change in a future version of Lucy. Instead one should always compare directly with this constant. -
GXY_LAYERS_DATA_FLAVOR
DataFlavor
that represents multipleILcdGXYLayer
s. The transfer data for this constant will be an array ofILcdGXYLayer
s. Note that one should never rely on the properties (e.g.GXY_LAYERS_DATA_FLAVOR.getMimeType()
) of this constant as they might change in a future version of Lucy. Instead one should always compare directly with this constant. -
GENERAL_SHAPE_FLAVOR
This data flavor represents data as general shapes. Export your objects to this flavor if you want other addons to be able to import those shapes.
The transfer data for this DataFlavor is an
com.luciad.lucy.map.ILcyLayerSubsetList
. All elements in this subset list are guaranteed/required to be implementations of the interfaces found in the com.luciad.shape packages.Note that you can consult the transfer data associated with
TLcyDataTransferManager.TRANSFERABLES_LIST
for more details, if thatDataFlavor
is supported.Note that one should never rely on the properties (e.g.
GENERAL_SHAPE_FLAVOR.getMimeType()
) of this constant as they might change in a future version of Lucy. Instead one should always compare directly with this constant.
-