public abstract class AbstractChartServiceTypeDefinition extends java.lang.Object implements ChartServiceTypeDefinition
| Modifier and Type | Field and Description |
|---|---|
protected ChartProperties |
chartProps |
protected java.util.Properties |
extendedData |
| Constructor and Description |
|---|
AbstractChartServiceTypeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChartTypeRenderer(ChartServiceTypeRenderer renderer) |
ChartProperties |
createChartProperties() |
abstract javax.swing.ImageIcon |
getChartExample() |
abstract javax.swing.ImageIcon |
getChartIcon() |
abstract java.lang.Class |
getChartProviderClass() |
java.util.Map<java.lang.String,ChartServiceTypeRenderer> |
getChartTypeHorizontalRenderers() |
ChartServiceTypeRenderer |
getChartTypeRenderer(java.lang.String name)
Get the characteristics of a concrete ChartTypeRenderer
|
java.util.Map<java.lang.String,ChartServiceTypeRenderer> |
getChartTypeRenderers()
ChartRenderers has all the possible renderers for each ChartService
it must be registered on the initialization of this class.
|
java.util.Map<java.lang.String,ChartServiceTypeRenderer> |
getChartTypeRenderers(boolean is3D,
boolean isHorizontal) |
java.util.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(java.util.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, waitgetClassName, hasChartAxisConfigurationprotected ChartProperties chartProps
protected java.util.Properties extendedData
public java.util.Properties getExtendedData()
getExtendedData in interface ChartServiceTypeDefinitionpublic abstract javax.swing.ImageIcon getChartIcon()
getChartIcon in interface ChartServiceTypeDefinitionpublic abstract javax.swing.ImageIcon getChartExample()
getChartExample in interface ChartServiceTypeDefinitionpublic abstract java.lang.Class getChartProviderClass()
getChartProviderClass in interface ChartServiceTypeDefinitionpublic void setChartProperties(ChartProperties props)
ChartServiceTypeDefinitionsetChartProperties in interface ChartServiceTypeDefinitionpublic void setExtendedData(java.util.Properties props)
ChartServiceTypeDefinitionsetExtendedData in interface ChartServiceTypeDefinitionpublic abstract void update()
public ChartProperties createChartProperties()
createChartProperties in interface ChartServiceTypeDefinitionpublic java.util.Map<java.lang.String,ChartServiceTypeRenderer> getChartTypeRenderers()
ChartServiceTypeDefinitiongetChartTypeRenderers in interface ChartServiceTypeDefinitionpublic java.util.Map<java.lang.String,ChartServiceTypeRenderer> getChartTypeRenderers(boolean is3D, boolean isHorizontal)
getChartTypeRenderers in interface ChartServiceTypeDefinitionpublic java.util.Map<java.lang.String,ChartServiceTypeRenderer> getChartTypeHorizontalRenderers()
public ChartServiceTypeRenderer getChartTypeRenderer(java.lang.String name)
ChartServiceTypeDefinitiongetChartTypeRenderer in interface ChartServiceTypeDefinitionpublic void addChartTypeRenderer(ChartServiceTypeRenderer renderer)
public boolean has3DRenderers()
has3DRenderers in interface ChartServiceTypeDefinitionpublic boolean hasMultipleAxis()
hasMultipleAxis in interface ChartServiceTypeDefinitionpublic boolean hasFlipAxis()
hasFlipAxis in interface ChartServiceTypeDefinition