public static class PiePlot.PiePlotLegend extends ValueLegend
AbstractLegend.AbstractSymbol, AbstractLegend.Item
LABEL_COLUMN, LABEL_FORMAT
ALIGNMENT_X, ALIGNMENT_Y, BACKGROUND, BORDER, COLOR, FONT, GAP, ORIENTATION, SYMBOL_SIZE
Constructor and Description |
---|
PiePlot.PiePlotLegend(PiePlot plot)
Initializes a new instance with a specified plot.
|
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.
|
Drawable |
getSymbol(Row row)
Returns a symbol for rendering a legend item.
|
add, dataAdded, dataRemoved, dataUpdated, getLabel, remove, settingChanged
clear, contains, draw, drawBackground, drawBorder, invalidate, isValid, refresh, setBounds
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
public PiePlot.PiePlotLegend(PiePlot plot)
plot
- Plot.protected Iterable<Row> getEntries(DataSource source)
AbstractLegend
getEntries
in class ValueLegend
source
- Data source.Copyright © 2009-2013. All Rights Reserved.