Package com.luciad.view.gxy
Interface ILcdGXYLayerLabelPainter
- All Known Implementing Classes:
TLcdContinuousDeclutteringLabelPainter
,TLcdGXYLayerLabelPainter
Deprecated.
label algorithm providers offer more flexibility
for labeling layers
Paints all labels of a single layer, allowing to implement per-layer decluttering.
Implementation notes: The implementations of this class should inform the
ALcdLabelLocations
for which objects it has drawn the labels if the layer for which the
labels should be painted is an ILcdGXYEditableLabelsLayer
For label placement that also considers other layer's labels, see
ILcdGXYViewLabelPlacer
.- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.RedefinesObject.clone
to make it public.void
paintLabel
(Graphics aGraphics, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView, int aLayerLabelPainterMode) Deprecated.The implementation of this method shall define how to paint the labels of all the objects in the givenILcdGXYLayer
on the givenILcdGXYView
, in the given mode.
-
Field Details
-
ALL
static final int ALLDeprecated.This constant signifies that the labels for all objects should be drawn.- See Also:
-
SELECTION
static final int SELECTIONDeprecated.This constant signifies that only the labels for the selected object should be drawn.- See Also:
-
-
Method Details
-
paintLabel
void paintLabel(Graphics aGraphics, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView, int aLayerLabelPainterMode) Deprecated.The implementation of this method shall define how to paint the labels of all the objects in the given
ILcdGXYLayer
on the givenILcdGXYView
, in the given mode. Here one can implement various smart algorithms to check whether or not to paint a label at a certain location.If
aGXYLayer
is anILcdGXYEditableLabelsLayer
, this method should inform theALcdLabelLocations
associated with that layer which labels have been drawn and which haven't been.- Parameters:
aGraphics
- TheGraphics
instance on which to paint the labels.aGXYLayer
- The layer for which to paint the labels. If this layer is an instance ofILcdGXYEditableLabelsLayer
, itsALcdLabelLocations
should be informed of which labels have been drawn and which haven't.aGXYView
- The view in which the layer is contained.aLayerLabelPainterMode
- Determines which labels should be painted. Should be one ofALL
orSELECTION
- See Also:
-
clone
Object clone()Deprecated.RedefinesObject.clone
to make it public.
-