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 ChartSerieEntity
public Color getPaint()
getPaint
in interface ChartSerieEntity
public boolean getSeriesShapesVisible()
getSeriesShapesVisible
in interface ChartSerieEntity
public boolean getShapesVisible()
getShapesVisible
in interface ChartSerieEntity
public Shape getSeriesShape()
getSeriesShape
in interface ChartSerieEntity
public Stroke getSeriesStroke()
getSeriesStroke
in interface ChartSerieEntity
public void setSeriePaint(Color paint)
setSeriePaint
in interface ChartSerieEntity
public void setSeriesShapesVisible(boolean visible)
setSeriesShapesVisible
in interface ChartSerieEntity
public void setSeriesShape(Shape shape)
setSeriesShape
in interface ChartSerieEntity
public void setSeriesStroke(Stroke stroke)
setSeriesStroke
in interface ChartSerieEntity
public String getSeriesName()
getSeriesName
in interface ChartSerieEntity
public String getName()
getName
in interface ChartSerieEntity
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException
public ChartSerieEntity clone()
clone
in interface ChartSerieEntity
clone
in class Object