Java org.jfree.chart LegendItem fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart LegendItem fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart LegendItem.

The text is from its open source code.

Subclass

org.jfree.chart.LegendItem has subclasses.
Click this link to see all its subclasses.

Constructor

LegendItem(String label, String description, String toolTipText, String urlText, boolean shapeVisible, Shape shape, boolean shapeFilled, Paint fillPaint, boolean shapeOutlineVisible, Paint outlinePaint, Stroke outlineStroke, boolean lineVisible, Shape line, Stroke lineStroke, Paint linePaint)
Creates a new legend item.
LegendItem(AttributedString label, String description, String toolTipText, String urlText, boolean shapeVisible, Shape shape, boolean shapeFilled, Paint fillPaint, boolean shapeOutlineVisible, Paint outlinePaint, Stroke outlineStroke, boolean lineVisible, Shape line, Stroke lineStroke, Paint linePaint)
Creates a new legend item.
LegendItem(String label, String description, String toolTipText, String urlText, Shape line, Stroke lineStroke, Paint linePaint)
Creates a legend item using a line.
LegendItem(AttributedString label, String description, String toolTipText, String urlText, Shape line, Stroke lineStroke, Paint linePaint)
Creates a legend item using a line.
LegendItem(String label, String description, String toolTipText, String urlText, Shape shape, Paint fillPaint, Stroke outlineStroke, Paint outlinePaint)
Creates a legend item with a filled and outlined shape.
LegendItem(AttributedString label, String description, String toolTipText, String urlText, Shape shape, Paint fillPaint, Stroke outlineStroke, Paint outlinePaint)
Creates a legend item with a filled and outlined shape.
LegendItem(String label, Paint paint)
Creates a legend item with the specified label and fill paint.
LegendItem(String label)
Creates a legend item with the specified label.
LegendItem(String label, String description, String toolTipText, String urlText, Shape shape, Paint fillPaint)
Creates a legend item with a filled shape.
LegendItem(AttributedString label, String description, String toolTipText, String urlText, Shape shape, Paint fillPaint)
Creates a legend item with a filled shape.

Method

DatasetgetDataset()
Returns the dataset.
StringgetDescription()
Returns the description for the legend item.
PaintgetFillPaint()
Returns the fill paint.
GradientPaintTransformergetFillPaintTransformer()
Returns the transformer used when the fill paint is an instance of GradientPaint.
StringgetLabel()
Returns the label.
FontgetLabelFont()
Returns the label font.
PaintgetLabelPaint()
Returns the paint used to draw the label.
ShapegetLine()
Returns the line.
PaintgetLinePaint()
Returns the paint used for lines.
StrokegetLineStroke()
Returns the line stroke for the series.
PaintgetOutlinePaint()
Returns the outline paint.
StrokegetOutlineStroke()
Returns the outline stroke.
ComparablegetSeriesKey()
Returns the series key.
ShapegetShape()
Returns the shape used to label the series represented by this legend item.
StringgetToolTipText()
Returns the tool tip text.
StringgetURLText()
Returns the URL text.
booleanisLineVisible()
Returns a flag that indicates whether or not the line is visible.
booleanisShapeFilled()
Returns a flag that controls whether or not the shape is filled.
booleanisShapeOutlineVisible()
Returns the flag that controls whether or not the shape outline is visible.
booleanisShapeVisible()
Returns a flag that indicates whether or not the shape is visible.
voidsetDataset(Dataset dataset)
Sets the dataset.
voidsetDatasetIndex(int index)
Sets the dataset index for this legend item.
voidsetFillPaint(Paint paint)
Sets the fill paint.
voidsetFillPaintTransformer(GradientPaintTransformer transformer)
Sets the transformer used when the fill paint is an instance of GradientPaint.
voidsetLabelFont(Font font)
Sets the label font.
voidsetLabelPaint(Paint paint)
Sets the paint used to draw the label.
voidsetLine(Shape line)
Sets the line.
voidsetLinePaint(Paint paint)
Sets the line paint.
voidsetLineStroke(Stroke stroke)
Sets the line stroke.
voidsetOutlinePaint(Paint paint)
Sets the outline paint.
voidsetSeriesIndex(int index)
Sets the series index for this legend item.
voidsetSeriesKey(Comparable key)
Sets the series key.
voidsetShape(Shape shape)
Sets the shape for the legend item.
voidsetShapeVisible(boolean visible)
Sets the flag that controls whether or not the shape is visible.