Example usage for Java org.jfree.chart LegendItem fields, constructors, methods, implement or subclass
The text is from its open source code.
Dataset | getDataset() Returns the dataset. |
String | getDescription() Returns the description for the legend item. |
Paint | getFillPaint() Returns the fill paint. |
GradientPaintTransformer | getFillPaintTransformer() Returns the transformer used when the fill paint is an instance of GradientPaint . |
String | getLabel() Returns the label. |
Font | getLabelFont() Returns the label font. |
Paint | getLabelPaint() Returns the paint used to draw the label. |
Shape | getLine() Returns the line. |
Paint | getLinePaint() Returns the paint used for lines. |
Stroke | getLineStroke() Returns the line stroke for the series. |
Paint | getOutlinePaint() Returns the outline paint. |
Stroke | getOutlineStroke() Returns the outline stroke. |
Comparable | getSeriesKey() Returns the series key. |
Shape | getShape() Returns the shape used to label the series represented by this legend item. |
String | getToolTipText() Returns the tool tip text. |
String | getURLText() Returns the URL text. |
boolean | isLineVisible() Returns a flag that indicates whether or not the line is visible. |
boolean | isShapeFilled() Returns a flag that controls whether or not the shape is filled. |
boolean | isShapeOutlineVisible() Returns the flag that controls whether or not the shape outline is visible. |
boolean | isShapeVisible() Returns a flag that indicates whether or not the shape is visible. |
void | setDataset(Dataset dataset) Sets the dataset. |
void | setDatasetIndex(int index) Sets the dataset index for this legend item. |
void | setFillPaint(Paint paint) Sets the fill paint. |
void | setFillPaintTransformer(GradientPaintTransformer transformer) Sets the transformer used when the fill paint is an instance of GradientPaint . |
void | setLabelFont(Font font) Sets the label font. |
void | setLabelPaint(Paint paint) Sets the paint used to draw the label. |
void | setLine(Shape line) Sets the line. |
void | setLinePaint(Paint paint) Sets the line paint. |
void | setLineStroke(Stroke stroke) Sets the line stroke. |
void | setOutlinePaint(Paint paint) Sets the outline paint. |
void | setSeriesIndex(int index) Sets the series index for this legend item. |
void | setSeriesKey(Comparable key) Sets the series key. |
void | setShape(Shape shape) Sets the shape for the legend item. |
void | setShapeVisible(boolean visible) Sets the flag that controls whether or not the shape is visible. |