Class TLcyLspMapDataFlavor

java.lang.Object
com.luciad.lucy.map.lightspeed.TLcyLspMapDataFlavor

public class TLcyLspMapDataFlavor extends Object

Class representing data flavor constants for working with drag and drop operations of ILspViews and ILspLayers.

DropTargetListeners and DragGestureListeners must support LSP_VIEW_DATA_FLAVOR and/or LSP_LAYERS_DATA_FLAVOR when they want to drag and drop ILspViews and ILspLayers.

A GXY variant (see TLcyMapDataFlavor) of this class is available as well.

Since:
2012.0
  • Field Details

    • LSP_VIEW_DATA_FLAVOR

      public static final DataFlavor LSP_VIEW_DATA_FLAVOR
      DataFlavor that represents ILspView's. The transfer data for this constant will be a ILspView.

      Note that one should never rely on the properties (e.g. LSP_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.

    • LSP_LAYERS_DATA_FLAVOR

      public static final DataFlavor LSP_LAYERS_DATA_FLAVOR
      DataFlavor that represents multiple ILspLayers. The transfer data for this constant will be an array of ILspLayers.

      Note that one should never rely on the properties (e.g. LSP_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.