Interface ILcdGXYLayerLabelPainter
- All Known Implementing Classes:
TLcdContinuousDeclutteringLabelPainter
,TLcdGXYLayerLabelPainter
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.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
-
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.
-