org.jCharts.chartText
Class BarValueGroup.BarValue
java.lang.Object
org.jCharts.chartText.TextTag
org.jCharts.chartText.BarValueGroup.BarValue
- All Implemented Interfaces:
- Serializable, HTMLTestable
- Enclosing class:
- BarValueGroup
protected class BarValueGroup.BarValue
- extends TextTag
Helper class to handle a barValue - wraps TextTag
Meant to be called only by BarValueGroup class.
- See Also:
- Serialized Form
Methods inherited from class org.jCharts.chartText.TextTag |
addAttribute, getAttribute, getBottomSide, getFontAscent, getFontDescent, getHeight, getHidden, getRectangle, getRightSide, getWidth, getXPosition, getYPosition, render, render, setHidden, setPosition, setXPosition, setYPosition, toHTML, toString |
barRect
private Rectangle2D.Float barRect
startPosition
private int startPosition
isNegative
private boolean isNegative
text
private String text
BarValueGroup.BarValue
public BarValueGroup.BarValue(String text,
Font font,
FontRenderContext fontRenderContext,
Rectangle2D.Float barRect,
int startPosition,
boolean isNegative)
getBarRect
public Rectangle2D.Float getBarRect()
getStartPosition
public int getStartPosition()
getIsNegative
public boolean getIsNegative()
getText
public String getText()
- Overrides:
getText
in class TextTag