|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jfree.chart.LegendItem
A legend item.
Records all the properties of a legend item, but is not concerned about the display location.
Constructor Summary | |
LegendItem(java.lang.String label,
java.lang.String description,
java.awt.Shape shape,
java.awt.Paint paint,
java.awt.Paint outlinePaint,
java.awt.Stroke stroke)
Creates a new legend item. |
Method Summary | |
java.lang.String |
getLabel()
Returns the label. |
java.awt.Paint |
getPaint()
Returns the paint. |
java.awt.Shape |
getShape()
Returns the shape used to label the series represented by this legend item. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LegendItem(java.lang.String label, java.lang.String description, java.awt.Shape shape, java.awt.Paint paint, java.awt.Paint outlinePaint, java.awt.Stroke stroke)
label
- the label.description
- the description.shape
- the shape.paint
- the paint.outlinePaint
- the outline paint.stroke
- the stroke.Method Detail |
public java.lang.String getLabel()
public java.awt.Paint getPaint()
public java.awt.Shape getShape()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |