Class ChartFactoryImpl

  • All Implemented Interfaces:
    ChartFactory

    public abstract class ChartFactoryImpl
    extends java.lang.Object
    implements ChartFactory
    The class, which creates the charts for Aloha.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract cern.accsoft.steering.util.gui.dv.ds.Aloha2DChart createAloha2DChart()
      this method creates a default 2D-chart for aloha.
      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)
      creates a default chart for aloha, sets the given DataSets and sets the x/y titles.
      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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChartFactoryImpl

        public ChartFactoryImpl()
    • 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: ChartFactory
        creates a default chart for aloha, sets the given DataSets and sets the x/y titles.
        Specified by:
        createBarChart in interface ChartFactory
        Parameters:
        measuredDataSet - the dataSet for the measurement-renderer
        modelDataSet - the dataSet for the model-renderer
        measuredErrorDataSource - the dataSet for the measurement-error
        xtitle - the tite of the x-axis
        ytitle - 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:
        createBarChart in interface ChartFactory
      • 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