public class DefaultChartSerieEntity extends Object implements ChartSerieEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultChartSerieEntity.RegisterPersistence |
| Constructor and Description |
|---|
DefaultChartSerieEntity() |
DefaultChartSerieEntity(LegendItem item) |
| Modifier and Type | Method and Description |
|---|---|
ChartSerieEntity |
clone() |
LegendItem |
getLegendItem() |
String |
getName() |
Color |
getPaint() |
Color |
getSeriePaint() |
String |
getSeriesName() |
Shape |
getSeriesShape() |
boolean |
getSeriesShapesVisible() |
Stroke |
getSeriesStroke() |
boolean |
getShapesVisible() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setSeriePaint(Color paint) |
void |
setSeriesShape(Shape shape) |
void |
setSeriesShapesVisible(boolean visible) |
void |
setSeriesStroke(Stroke stroke) |
public DefaultChartSerieEntity()
public DefaultChartSerieEntity(LegendItem item)
public LegendItem getLegendItem()
public Color getSeriePaint()
getSeriePaint in interface ChartSerieEntitypublic Color getPaint()
getPaint in interface ChartSerieEntitypublic boolean getSeriesShapesVisible()
getSeriesShapesVisible in interface ChartSerieEntitypublic boolean getShapesVisible()
getShapesVisible in interface ChartSerieEntitypublic Shape getSeriesShape()
getSeriesShape in interface ChartSerieEntitypublic Stroke getSeriesStroke()
getSeriesStroke in interface ChartSerieEntitypublic void setSeriePaint(Color paint)
setSeriePaint in interface ChartSerieEntitypublic void setSeriesShapesVisible(boolean visible)
setSeriesShapesVisible in interface ChartSerieEntitypublic void setSeriesShape(Shape shape)
setSeriesShape in interface ChartSerieEntitypublic void setSeriesStroke(Stroke stroke)
setSeriesStroke in interface ChartSerieEntitypublic String getSeriesName()
getSeriesName in interface ChartSerieEntitypublic String getName()
getName in interface ChartSerieEntitypublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic ChartSerieEntity clone()
clone in interface ChartSerieEntityclone in class Object