Package com.luciad.view.gxy
Interface ILcdGXYViewLabelPainter
- All Superinterfaces:
Cloneable
,Serializable
- All Known Implementing Classes:
TLcdContinuousDeclutteringLabelPainter
,TLcdGXYAsynchronousViewLabelPainterWrapper
,TLcdGXYViewLabelPainter
Deprecated.
ILcdGXYViewLabelPlacer offers more powerful and flexible decluttering functionality
Paints all labels of an
ILcdGXYView
, allowing to implement inter-layer decluttering.
It is recommended to use an implementation of
ILcdGXYViewLabelPlacer
instead,
because it offers better decluttering behavior, more algorithm choices, support for
asynchronous
label placement, and easier customization.
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
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.RedefinesObject.clone
to make it public.void
paintLabel
(Graphics aGraphics, ILcdGXYView aGXYView, int aGXYViewLabelPainterMode) Deprecated.The implementation of this method shall define how to paint the labels of all the objects in the variousILcdGXYLayer
of the givenILcdGXYView
, in the given mode.void
paintLabel
(Graphics aGraphics, Enumeration aGXYLayerEnumeration, ILcdGXYView aGXYView, int aGXYViewLabelPainterMode) Deprecated.The implementation of this method shall define how to paint the labels of all the objects in the variousILcdGXYLayer
of the given Enumeration, on the givenILcdGXYView
, in the given mode.
-
Field Details
-
ALL
static final int ALLDeprecated.This constant signifies that all labels should be painted.- See Also:
-
SELECTION
static final int SELECTIONDeprecated.This constant signifies that only the labels for the selection should be painted.- See Also:
-
-
Method Details
-
paintLabel
Deprecated.The implementation of this method shall define how to paint the labels of all the objects in the variousILcdGXYLayer
of 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 any layer for which labels are painted is an
ILcdGXYEditableLabelsLayer
, 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.aGXYView
- The view for which to paint the labels. If labels are drawn for a layer that is an instance ofILcdGXYEditableLabelsLayer
, its ALcdLabelLocations instance should be informed of which labels have been drawn and which haven't been.aGXYViewLabelPainterMode
- Determines which labels should be drawn. Should be one ofILcdGXYViewLabelPainter.ALL
orILcdGXYViewLabelPainter.SELECTION
- See Also:
-
paintLabel
void paintLabel(Graphics aGraphics, Enumeration aGXYLayerEnumeration, ILcdGXYView aGXYView, int aGXYViewLabelPainterMode) Deprecated.The implementation of this method shall define how to paint the labels of all the objects in the variousILcdGXYLayer
of the given Enumeration, 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 any layer for which labels are painted is an
ILcdGXYEditableLabelsLayer
, 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.aGXYLayerEnumeration
- Only the labels for the layers contained in thisEnumeration
will be drawn.aGXYView
- The ILcdGXYView instance for which to paint the layers.aGXYViewLabelPainterMode
- Determines which labels should be drawn. Should be one ofILcdGXYViewLabelPainter.ALL
orILcdGXYViewLabelPainter.SELECTION
- See Also:
-
clone
Object clone()Deprecated.RedefinesObject.clone
to make it public.
-