Class MultiPlotGraphic

    • Field Detail

      • internalLoop

        private int internalLoop
      • graphicsUpdate

        private int graphicsUpdate
      • oldSize

        private org.eclipse.swt.graphics.Point oldSize
      • bufferImage

        private org.eclipse.swt.graphics.Image bufferImage
      • nbValues

        private int nbValues
      • maxEntries

        private int maxEntries
      • all_values

        private int[][] all_values
      • currentPosition

        private int currentPosition
      • update_outstanding

        private boolean update_outstanding
      • update_period_millis

        private int update_period_millis
      • maintain_history

        private boolean maintain_history
      • timeFormatter

        private java.text.SimpleDateFormat timeFormatter
    • Method Detail

      • init

        private void init​(int[][] history)
      • getHistory

        public int[][] getHistory()
      • initialize

        public void initialize​(org.eclipse.swt.widgets.Canvas canvas,
                               boolean is_active)
      • setActive

        public void setActive​(boolean active)
      • setActive

        public void setActive​(boolean active,
                              int period_millis)
      • reset

        public void reset​(int[][] history)
      • getAverage

        public int[] getAverage​(int num_entries)
      • addIntsValue

        private void addIntsValue​(int[] new_values)
      • drawChart

        protected void drawChart​(boolean sizeChanged)
      • computeAverage

        private int computeAverage​(int line_index,
                                   int position)
      • parameterChanged

        public void parameterChanged​(java.lang.String parameter)
        Description copied from interface: ParameterListener
        Called, when a parameter has changed. The listener could only react if the parameter name is relevant. Or the listener can just read all parameters again.
        Specified by:
        parameterChanged in interface ParameterListener
        Parameters:
        parameter - the name of the parameter that has changed
      • dispose

        public void dispose​(boolean _maintain_history)