public class TLcyLspMapDataFlavor extends Object
Class representing data flavor constants for working with drag and drop operations of
ILspView
s and ILspLayer
s.
DropTargetListener
s and DragGestureListener
s must support LSP_VIEW_DATA_FLAVOR
and/or LSP_LAYERS_DATA_FLAVOR
when they want to drag and drop
ILspView
s and ILspLayer
s.
A GXY variant (see
TLcyMapDataFlavor
) of this class is available as well.
Modifier and Type | Field and Description |
---|---|
static DataFlavor |
LSP_LAYERS_DATA_FLAVOR
DataFlavor that represents multiple ILspLayer s. |
static DataFlavor |
LSP_VIEW_DATA_FLAVOR
DataFlavor that represents ILspView 's. |
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.public static final DataFlavor LSP_LAYERS_DATA_FLAVOR
DataFlavor
that represents multiple ILspLayer
s. The transfer data for
this constant will be an array of ILspLayer
s.
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.