lt.monarch.chart.legend.symbols
Class NullLegendSymbol
java.lang.Object
lt.monarch.chart.engine.LegendSymbol
lt.monarch.chart.legend.symbols.NullLegendSymbol
- All Implemented Interfaces:
- java.io.Serializable
public class NullLegendSymbol
extends LegendSymbol
Empty legend symbol renderer.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullLegendSymbol
public NullLegendSymbol()
getPreferredHeight
public int getPreferredHeight(AbstractGraphics g)
- Gets the preferred height of this legend symbol.
- Specified by:
getPreferredHeight in class LegendSymbol
- Parameters:
g - graphics context for which the preferred height is to be calculated
- Returns:
- 0
getPreferredWidth
public int getPreferredWidth(AbstractGraphics g)
- Gets the preferred width of this legend symbol.
- Specified by:
getPreferredWidth in class LegendSymbol
- Parameters:
g - graphics context for which the preferred width is to be calculated
- Returns:
- 0
draw
public void draw(AbstractGraphics g,
Style style,
Rectangle2D bounds,
PaintMode paintMode)
- Description copied from class:
LegendSymbol
- Renders the symbol.
- Specified by:
draw in class LegendSymbol
- Parameters:
g - graphics contextstyle - legend stylesheet for common attributes, such a box symbol borderbounds - symbol boundspaintMode - paint mode