Class AbstractGraphPlot

    • Field Detail

      • measureSelected

        protected int measureSelected
      • min_x_value

        protected double min_x_value
      • max_x_value

        protected double max_x_value
      • max_y_value

        protected double max_y_value
      • lower_x_value

        protected double lower_x_value
      • upper_x_value

        protected double upper_x_value
      • upper_y_value

        protected double upper_y_value
      • x_resolution

        protected double x_resolution
      • colors

        protected Color[] colors
      • isStandardDeviationPainted

        protected boolean isStandardDeviationPainted
    • Constructor Detail

      • AbstractGraphPlot

        public AbstractGraphPlot()
    • Method Detail

      • setGraph

        protected void setGraph​(MeasureCollection[] measures,
                                MeasureCollection[] stds,
                                Color[] colors)
        Sets the graph by updating the measures and currently measure index. This method should not be directly called, but may be used by subclasses to save space.
        Parameters:
        measures - measure information
        stds - standard deviation of the measures
        colors - color encoding for the plots
      • setMeasureSelected

        public void setMeasureSelected​(int selected)
        Sets the currently selected measure index.
        Parameters:
        selected - new selected measure
      • setMinXValue

        protected void setMinXValue​(double min)
        Sets minimum x value.
        Parameters:
        min - minimum x value
      • setMaxXValue

        protected void setMaxXValue​(double max)
        Sets maximum x value.
        Parameters:
        max - maximum x value
      • setMaxYValue

        protected void setMaxYValue​(double max)
        Sets maximum y value.
        Parameters:
        max - maximum y value
      • setLowerXValue

        protected void setLowerXValue​(double value)
        Sets the lower value for the x-axis.
        Parameters:
        value - lower x value
      • setUpperXValue

        protected void setUpperXValue​(double value)
        Sets the upper value for the x-axis.
        Parameters:
        value - upper x value
      • setUpperYValue

        protected void setUpperYValue​(double value)
        Sets the upper value for the y-axis.
        Parameters:
        value - upper y value
      • setXResolution

        protected void setXResolution​(double x_resolution)
        Sets the resolution on the x-axis
        Parameters:
        x_resolution - resolution on the x-axis
      • setStandardDeviationPainted

        protected void setStandardDeviationPainted​(boolean b)
        Sets the value for isStandardDeviationPainted.
        Parameters:
        b - new setting for isStandardDeviationPainted
      • paintStandardDeviation

        protected void paintStandardDeviation​(Graphics g,
                                              int len,
                                              int x,
                                              int y)