org.jfree.report.modules.misc.survey
public class SurveyScaleLegendItem extends Object
Constructor Summary | |
---|---|
SurveyScaleLegendItem() | |
SurveyScaleLegendItem(Shape shape, String label, boolean draw, boolean fill)
Creates a new legend item.
|
Method Summary | |
---|---|
void | draw(Graphics2D g2, Rectangle2D area)
Draws the legend item.
|
Font | getFont() |
String | getLabel() |
Shape | getShape() |
boolean | isDraw() |
boolean | isFill() |
void | setDraw(boolean draw) |
void | setFill(boolean fill) |
void | setFont(Font font) |
void | setLabel(String label) |
void | setShape(Shape shape) |
Parameters: shape the shape. label the label. draw draw the shape? fill fill the shape?
Parameters: g2 the graphic device. area the area.