Interface ILcdGXYLayerLabelPainter

All Known Implementing Classes:
TLcdContinuousDeclutteringLabelPainter, TLcdGXYLayerLabelPainter

@Deprecated public interface ILcdGXYLayerLabelPainter
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
    Modifier and Type
    Field
    Description
    static final int
    Deprecated.
    This constant signifies that the labels for all objects should be drawn.
    static final int
    Deprecated.
    This constant signifies that only the labels for the selected object should be drawn.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Redefines Object.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 given ILcdGXYLayer on the given ILcdGXYView, 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 given ILcdGXYView, 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 an ILcdGXYEditableLabelsLayer, this method should inform the ALcdLabelLocations associated with that layer which labels have been drawn and which haven't been.

      Parameters:
      aGraphics - The Graphics instance on which to paint the labels.
      aGXYLayer - The layer for which to paint the labels. If this layer is an instance of ILcdGXYEditableLabelsLayer, its ALcdLabelLocations 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 of ALL or SELECTION
      See Also:
    • clone

      Object clone()
      Deprecated.
      Redefines Object.clone to make it public.