public abstract class SeriesLegend extends AbstractLegend
AbstractLegend.AbstractSymbol, AbstractLegend.Item
ALIGNMENT_X, ALIGNMENT_Y, BACKGROUND, BORDER, COLOR, FONT, GAP, ORIENTATION, SYMBOL_SIZE
Constructor and Description |
---|
SeriesLegend() |
Modifier and Type | Method and Description |
---|---|
protected Iterable<Row> |
getEntries(DataSource source)
Returns a sequence of items for the specified data source that should be
added to the legend.
|
protected String |
getLabel(Row row)
Returns the label text for the specified row.
|
add, clear, contains, draw, drawBackground, drawBorder, invalidate, isValid, refresh, remove, setBounds, settingChanged
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault
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
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault
getSymbol
protected Iterable<Row> getEntries(DataSource source)
AbstractLegend
getEntries
in class AbstractLegend
source
- Data source.protected String getLabel(Row row)
AbstractLegend
getLabel
in class AbstractLegend
row
- Data row.Copyright © 2009-2013. All Rights Reserved.