public abstract class SeriesLegend extends AbstractLegend
AbstractLegend.AbstractSymbol, AbstractLegend.Item
Constructor and Description |
---|
SeriesLegend() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Iterable<Row> |
getEntries(DataSource source)
Returns a sequence of items for the specified data source that should be
added to the legend.
|
protected java.lang.String |
getLabel(Row row)
Returns the label text for the specified row.
|
add, clear, contains, draw, drawBackground, drawBorder, getAlignmentX, getAlignmentY, getBackground, getBorderColor, getBorderStroke, getFont, getGap, getOrientation, getSymbolSize, invalidate, isValid, refresh, refreshLayout, remove, setAlignmentX, setAlignmentY, setBackground, setBorderColor, setBorderStroke, setBounds, setDrawableFonts, setFont, setGap, setOrientation, setSymbolSize
add, add, drawComponents, getConstraints, getDrawableAt, getInsets, getLayout, getPreferredSize, iterator, layout, remove, setBounds, setInsets, setLayout, size
getBounds, getHeight, getWidth, getX, getY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add, getBounds, getConstraints, getDrawableAt, getInsets, getLayout, layout, remove, setBounds, setInsets, setLayout, size
getBounds, getHeight, getPreferredSize, getWidth, getX, getY, setBounds
getSymbol
protected java.lang.Iterable<Row> getEntries(DataSource source)
AbstractLegend
getEntries
in class AbstractLegend
source
- Data source.protected java.lang.String getLabel(Row row)
AbstractLegend
getLabel
in class AbstractLegend
row
- Data row.