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
Fields -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.RedefinesObject.cloneto make it public.voidpaintLabel(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 givenILcdGXYLayeron 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
ILcdGXYLayeron 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
aGXYLayeris anILcdGXYEditableLabelsLayer, this method should inform theALcdLabelLocationsassociated with that layer which labels have been drawn and which haven't been.- Parameters:
aGraphics- TheGraphicsinstance on which to paint the labels.aGXYLayer- The layer for which to paint the labels. If this layer is an instance ofILcdGXYEditableLabelsLayer, itsALcdLabelLocationsshould 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 ofALLorSELECTION- See Also:
-
clone
Object clone()Deprecated.RedefinesObject.cloneto make it public.
-