public class DefaultChartManager extends AbstractMultiServiceImplManager implements ChartManager
ChartManager
implementation.Constructor and Description |
---|
DefaultChartManager() |
Modifier and Type | Method and Description |
---|---|
ChartService |
createChart(ChartProperties properties)
Create an instance of a
ChartService . |
ChartDataSet |
createChartDataSet()
It creates a new instance of
ChartDataSet . |
GroupedCharts |
createGroupedCharts()
Create an instance of a
ChartService to be used as a GroupedCharts . |
ChartProperties |
createProperties(String type)
Create an instance of a
ChartProperties . |
ChartServiceManager |
getChartServiceManager()
It returns the class responsible of the management of the services registered
(each service is a different kind of chart)
|
Service |
getService(DynObject parameters)
Creates a new
Service based on the given parameters. |
String |
getTranslation(String key) |
createServiceParameters, getServiceManager
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createServiceParameters
public Service getService(DynObject parameters) throws ServiceException
Manager
Service
based on the given parameters.getService
in interface Manager
parameters
- of the Service
to createService
ServiceException
- if there is an error creating the Service, or the parameters
are not validpublic ChartProperties createProperties(String type) throws ServiceException
ChartManager
ChartProperties
.createProperties
in interface ChartManager
ChartProperties
ServiceException
- if there is an error creating the ChartProperties
public ChartService createChart(ChartProperties properties) throws ServiceException
ChartManager
ChartService
.createChart
in interface ChartManager
ChartService
ServiceException
- if there is an error creating the ChartService
public ChartServiceManager getChartServiceManager()
ChartManager
getChartServiceManager
in interface ChartManager
ChartServiceManager
public GroupedCharts createGroupedCharts()
ChartManager
ChartService
to be used as a GroupedCharts
.createGroupedCharts
in interface ChartManager
GroupedCharts
public ChartDataSet createChartDataSet()
ChartManager
ChartDataSet
.createChartDataSet
in interface ChartManager
ChartDataSet
public String getTranslation(String key)
getTranslation
in interface ChartManager