Class TLcyMapDataFlavor
ILcdGXYView's, ILcdGXYLayer's and ILcdModel's.
DropTargetListeners and DragGestureListeners 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
FieldsModifier and TypeFieldDescriptionstatic final DataFlavorThis data flavor represents data as general shapes.static final DataFlavorDataFlavorthat represents a singleILcdGXYLayer.static final DataFlavorDataFlavorthat represents multipleILcdGXYLayers.static final DataFlavorDataFlavorthat representsILcdGXYView's.static final DataFlavorDataFlavorthat represents multipleILcdLayers.static final DataFlavorDataFlavorthat represents a singleILcdModel.static final DataFlavorDataFlavorthat represents multipleILcdModels.static final DataFlavorDataFlavorthat representsILcdView's. -
Method Summary
-
Field Details
-
LAYERS_DATA_FLAVOR
DataFlavorthat represents multipleILcdLayers. The transfer data for this constant will be an array ofILcdLayers. 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
DataFlavorthat representsILcdView's. The transfer data for this constant will be anILcdView. It is not guaranteed that this is an instance ofILcdGXYView. UseGXY_VIEW_DATA_FLAVORfor 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
DataFlavorthat 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
DataFlavorthat 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
DataFlavorthat 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
DataFlavorthat represents multipleILcdModels. The transfer data for this constant will be an array ofILcdModels. 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
DataFlavorthat represents multipleILcdGXYLayers. The transfer data for this constant will be an array ofILcdGXYLayers. 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_LISTfor more details, if thatDataFlavoris 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.
-