Class SpeedGraphic

    • Field Detail

      • colors

        public org.eclipse.swt.graphics.Color[] colors
      • internalLoop

        private int internalLoop
      • graphicsUpdate

        private int graphicsUpdate
      • oldSize

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

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

        private int nbValues
      • maxEntries

        private int maxEntries
      • all_values

        private int[][] all_values
      • startTime

        private long startTime
      • ages

        private int[] ages
      • currentPosition

        private int currentPosition
      • timeFormatter

        private java.text.SimpleDateFormat timeFormatter
    • Method Detail

      • addIntsValue

        public void addIntsValue​(int[] new_values)
      • addIntValue

        public void addIntValue​(int value)
      • drawChart

        protected void drawChart​(boolean sizeChanged)
      • computeAverage

        protected int computeAverage​(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
      • setLineColors

        public void setLineColors​(org.eclipse.swt.graphics.Color average,
                                  org.eclipse.swt.graphics.Color speed,
                                  org.eclipse.swt.graphics.Color overhead,
                                  org.eclipse.swt.graphics.Color limit,
                                  org.eclipse.swt.graphics.Color others,
                                  org.eclipse.swt.graphics.Color trimmed)
      • setLineColors

        public void setLineColors​(org.eclipse.swt.graphics.Color[] newChangeableColorSet)