@Deprecated public interface ILcdGXYLayerLabelPainter
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
.Modifier and Type | Field and Description |
---|---|
static int |
ALL
Deprecated.
This constant signifies that the labels for all objects should be drawn.
|
static int |
SELECTION
Deprecated.
This constant signifies that only the labels for the selected object should be drawn.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
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. |
static final int ALL
static final int SELECTION
void paintLabel(Graphics aGraphics, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView, int aLayerLabelPainterMode)
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.
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
ILcdGXYEditableLabelsLayer
,
ALcdLabelLocations.setPainted(java.lang.Object, int, int, com.luciad.view.ILcdView, boolean, int)
Object clone()
Object.clone
to make it public.