Class ChartFactoryImpl
- java.lang.Object
-
- cern.accsoft.steering.aloha.gui.dv.ChartFactoryImpl
-
- All Implemented Interfaces:
ChartFactory
public abstract class ChartFactoryImpl extends java.lang.Object implements ChartFactory
The class, which creates the charts for Aloha.
-
-
Constructor Summary
Constructors Constructor Description ChartFactoryImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract cern.accsoft.steering.util.gui.dv.ds.Aloha2DChartcreateAloha2DChart()this method creates a default 2D-chart for aloha.cern.accsoft.steering.util.gui.dv.ds.Aloha2DChartcreateBarChart(cern.jdve.data.DataSet measuredDataSet, cern.jdve.data.DataSet modelDataSet, cern.jdve.data.DataSource measuredErrorDataSource, java.lang.String xtitle, java.lang.String ytitle)creates a default chart for aloha, sets the given DataSets and sets the x/y titles.cern.accsoft.steering.util.gui.dv.ds.Aloha2DChartcreateBarChart(cern.jdve.data.DataSet measuredDataSet, cern.jdve.data.DataSet modelDataSet, java.lang.String xtitle, java.lang.String ytitle)
-
-
-
Method Detail
-
createBarChart
public final cern.accsoft.steering.util.gui.dv.ds.Aloha2DChart createBarChart(cern.jdve.data.DataSet measuredDataSet, cern.jdve.data.DataSet modelDataSet, cern.jdve.data.DataSource measuredErrorDataSource, java.lang.String xtitle, java.lang.String ytitle)Description copied from interface:ChartFactorycreates a default chart for aloha, sets the given DataSets and sets the x/y titles.- Specified by:
createBarChartin interfaceChartFactory- Parameters:
measuredDataSet- the dataSet for the measurement-renderermodelDataSet- the dataSet for the model-renderermeasuredErrorDataSource- the dataSet for the measurement-errorxtitle- the tite of the x-axisytitle- the title of the y-axis- Returns:
- the chart
-
createBarChart
public final cern.accsoft.steering.util.gui.dv.ds.Aloha2DChart createBarChart(cern.jdve.data.DataSet measuredDataSet, cern.jdve.data.DataSet modelDataSet, java.lang.String xtitle, java.lang.String ytitle)- Specified by:
createBarChartin interfaceChartFactory
-
createAloha2DChart
public abstract cern.accsoft.steering.util.gui.dv.ds.Aloha2DChart createAloha2DChart()
this method creates a default 2D-chart for aloha.This method is injected by spring to deliver a well configured chart, which listens correctly to the
MarkedElementsManager.- Returns:
- a configured chart for aloha
-
-