public static class LegendPainter.LineLegendPainter extends LegendPainter
Modifier and Type | Class and Description |
---|---|
static class |
LegendPainter.LineLegendPainter.LineLegendPainterItem |
LegendPainter.BlockLegendPainter, LegendPainter.LegendPlacement, LegendPainter.LineLegendPainter
BYTES_PER_FLOAT, logger
Constructor and Description |
---|
LegendPainter.LineLegendPainter(LegendPainter.LegendPlacement placement) |
Modifier and Type | Method and Description |
---|---|
void |
addItem(String label,
float[] rgba) |
void |
clear() |
void |
removeItem(String label) |
void |
setLineStipple(String label,
boolean stipple)
Toggles stipple on the legend item.
|
void |
setLineStipple(String label,
int stippleFactor,
short stipplePattern)
Enables stipple and sets the pattern on the legend item.
|
void |
setLineWidth(String label,
float width) |
addItem, dispose, getFont, paintTo, setColor, setColor, setFont, setFont, setFont, setFont, setLegendItemWidth, setLookAndFeel, setOffset, setOffsetX, setOffsetY, setPlacement, setSpacing, setTextColor, setTextColor
paintTo
isDisposed, isVisible, paintTo, setErrorHandling, setVisible
public LegendPainter.LineLegendPainter(LegendPainter.LegendPlacement placement)
public void setLineStipple(String label, int stippleFactor, short stipplePattern)
public void setLineStipple(String label, boolean stipple)
public void setLineWidth(String label, float width)
public void addItem(String label, float[] rgba)
addItem
in class LegendPainter
public void removeItem(String label)
removeItem
in class LegendPainter
public void clear()
clear
in class LegendPainter
Copyright © 2013 Metron, Inc.. All rights reserved.