com.metsci.glimpse.painter.decoration
Class LegendPainter.LineLegendPainter
java.lang.Object
com.metsci.glimpse.painter.base.GlimpsePainterImpl
com.metsci.glimpse.painter.base.GlimpsePainter2D
com.metsci.glimpse.painter.decoration.LegendPainter
com.metsci.glimpse.painter.decoration.LegendPainter.LineLegendPainter
- All Implemented Interfaces:
- GlimpsePainter
- Enclosing class:
- LegendPainter
public static class LegendPainter.LineLegendPainter
- extends LegendPainter
Method Summary |
void |
addItem(java.lang.String label,
float[] rgba,
boolean stipple)
|
void |
addItem(java.lang.String label,
float r,
float g,
float b,
float a,
boolean stipple)
|
void |
clear()
|
void |
removeItem(java.lang.String label)
|
void |
setLineStipple(java.lang.String label,
boolean stipple)
|
void |
setLineStipplePattern(int stippleFactor,
short stipplePattern)
|
Methods inherited from class com.metsci.glimpse.painter.decoration.LegendPainter |
addItem, addItem, dispose, paintTo, setColor, setColor, setFont, setFont, setLegendItemWidth, setOffset, setOffsetX, setOffsetY, setPlacement, setSpacing, setTextColor, setTextColor |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegendPainter.LineLegendPainter
public LegendPainter.LineLegendPainter(LegendPainter.LegendPlacement placement)
setLineStipplePattern
public void setLineStipplePattern(int stippleFactor,
short stipplePattern)
setLineStipple
public void setLineStipple(java.lang.String label,
boolean stipple)
addItem
public void addItem(java.lang.String label,
float r,
float g,
float b,
float a,
boolean stipple)
addItem
public void addItem(java.lang.String label,
float[] rgba,
boolean stipple)
removeItem
public void removeItem(java.lang.String label)
- Overrides:
removeItem
in class LegendPainter
clear
public void clear()
- Overrides:
clear
in class LegendPainter
Copyright © 2012 Metron, Inc.. All Rights Reserved.