public abstract class AbstractChartServiceTypeDefinition extends Object implements ChartServiceTypeDefinition
Modifier and Type | Field and Description |
---|---|
protected ChartProperties |
chartProps |
protected Properties |
extendedData |
Constructor and Description |
---|
AbstractChartServiceTypeDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
addChartTypeRenderer(ChartServiceTypeRenderer renderer) |
ChartProperties |
createChartProperties() |
abstract ImageIcon |
getChartExample() |
abstract ImageIcon |
getChartIcon() |
abstract Class |
getChartProviderClass() |
Map<String,ChartServiceTypeRenderer> |
getChartTypeHorizontalRenderers() |
ChartServiceTypeRenderer |
getChartTypeRenderer(String name)
Get the characteristics of a concrete ChartTypeRenderer
|
Map<String,ChartServiceTypeRenderer> |
getChartTypeRenderers()
ChartRenderers has all the possible renderers for each ChartService
it must be registered on the initialization of this class.
|
Map<String,ChartServiceTypeRenderer> |
getChartTypeRenderers(boolean is3D,
boolean isHorizontal) |
Properties |
getExtendedData() |
boolean |
has3DRenderers() |
boolean |
hasFlipAxis() |
boolean |
hasMultipleAxis() |
void |
setChartProperties(ChartProperties props)
Set this props in order to let the panel reflect them in its
components (for example, title, description, fields used, etc)
|
void |
setExtendedData(Properties props)
Some times we need to fill combo data, or things like that.
|
abstract void |
update()
Use this method to reflect changes in the model (ChartProperties)
It will be called by setChartProperties() to reflect the data in GUI.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassName, hasChartAxisConfiguration
protected ChartProperties chartProps
protected Properties extendedData
public Properties getExtendedData()
getExtendedData
in interface ChartServiceTypeDefinition
public abstract ImageIcon getChartIcon()
getChartIcon
in interface ChartServiceTypeDefinition
public abstract ImageIcon getChartExample()
getChartExample
in interface ChartServiceTypeDefinition
public abstract Class getChartProviderClass()
getChartProviderClass
in interface ChartServiceTypeDefinition
public void setChartProperties(ChartProperties props)
ChartServiceTypeDefinition
setChartProperties
in interface ChartServiceTypeDefinition
public void setExtendedData(Properties props)
ChartServiceTypeDefinition
setExtendedData
in interface ChartServiceTypeDefinition
public abstract void update()
public ChartProperties createChartProperties()
createChartProperties
in interface ChartServiceTypeDefinition
public Map<String,ChartServiceTypeRenderer> getChartTypeRenderers()
ChartServiceTypeDefinition
getChartTypeRenderers
in interface ChartServiceTypeDefinition
public Map<String,ChartServiceTypeRenderer> getChartTypeRenderers(boolean is3D, boolean isHorizontal)
getChartTypeRenderers
in interface ChartServiceTypeDefinition
public Map<String,ChartServiceTypeRenderer> getChartTypeHorizontalRenderers()
public ChartServiceTypeRenderer getChartTypeRenderer(String name)
ChartServiceTypeDefinition
getChartTypeRenderer
in interface ChartServiceTypeDefinition
public void addChartTypeRenderer(ChartServiceTypeRenderer renderer)
public boolean has3DRenderers()
has3DRenderers
in interface ChartServiceTypeDefinition
public boolean hasMultipleAxis()
hasMultipleAxis
in interface ChartServiceTypeDefinition
public boolean hasFlipAxis()
hasFlipAxis
in interface ChartServiceTypeDefinition