Class AbstractCalculable

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      double endPoint()
      Retrieves the end point of the interval
      void endPoint​(double end)
      The end point of the interval used to calculate this formula
      Note: this method doesn't control the values of the interval, nor the value used for the step, it's merely a container.
      java.lang.String getName()
      Retrieves the getName for the formula
      double getScale()
      Deprecated.
      this method was deprecated because now we have individual scales for both x and y.
      double scaleX()
      Retrieves the X setScale for this formula
      double scaleY()
      Retrieves the Y setScale for this formula, basically every Y value is multiplied by this value
      void setName​(java.lang.String name)
      Set's a new getName for this formula
      void setScale​(double scale)
      Deprecated.
      this method was deprecated because now we have individual scales for both x and y.
      void setScaleX​(double scale)
      Sets the new setScale for the X formula, basically every X value is multiplied by this value
      void setScaleY​(double scale)
      Sets the new setScale for the Y formula, basically every Y value is multiplied by this value
      double startPoint()
      Retrieves the start point of the interval
      void startPoint​(double start)
      The start point of the interval used to calculate this formula
      Note: this method doesn't control the values of the interval, nor the value used for the step, it's merely a container.
      double step()
      Retrieves the step used to calculate the formula in the interval.
      void step​(double step)
      Sets the step used to evaluate the formula
      Note: this method doesn't control the values of the interval, nor the value used for the step, it's merely a container.
      • Methods inherited from class java.lang.Object

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

      • AbstractCalculable

        public AbstractCalculable()
    • Method Detail

      • getName

        public java.lang.String getName()
        Retrieves the getName for the formula
        Returns:
        getName of the formula
      • setName

        public void setName​(java.lang.String name)
        Set's a new getName for this formula
        Parameters:
        name - getName of the formula
      • startPoint

        public double startPoint()
        Retrieves the start point of the interval
        Returns:
        start point
      • endPoint

        public double endPoint()
        Retrieves the end point of the interval
        Returns:
        end point
      • scaleX

        public double scaleX()
        Retrieves the X setScale for this formula
        Returns:
        X setScale
      • scaleY

        public double scaleY()
        Retrieves the Y setScale for this formula, basically every Y value is multiplied by this value
        Returns:
        Y setScale
      • step

        public double step()
        Retrieves the step used to calculate the formula in the interval.
        Returns:
        step of the interval
      • startPoint

        public void startPoint​(double start)
        The start point of the interval used to calculate this formula
        Note: this method doesn't control the values of the interval, nor the value used for the step, it's merely a container.
        Parameters:
        start - start point of the interval
      • endPoint

        public void endPoint​(double end)
        The end point of the interval used to calculate this formula
        Note: this method doesn't control the values of the interval, nor the value used for the step, it's merely a container.
        Parameters:
        end - end point of the interval
      • setScale

        @Deprecated
        public void setScale​(double scale)
        Deprecated.
        this method was deprecated because now we have individual scales for both x and y. This method is still used in several projects, but it will be removed in future versions.
        Sets a getScale for both x and y axis.
        Parameters:
        scale - new getScale
        See Also:
        setScaleX(double), setScaleY(double)
      • getScale

        @Deprecated
        public double getScale()
        Deprecated.
        this method was deprecated because now we have individual scales for both x and y. This method is still used in several projects, but it will be removed in future versions.
        Retrieves the x getScale of the formula.
        Returns:
        the x getScale of the formula
        See Also:
        scaleX(), scaleY()
      • setScaleX

        public void setScaleX​(double scale)
        Sets the new setScale for the X formula, basically every X value is multiplied by this value
        Parameters:
        scale - setScale value
      • setScaleY

        public void setScaleY​(double scale)
        Sets the new setScale for the Y formula, basically every Y value is multiplied by this value
        Parameters:
        scale - setScale value
      • step

        public void step​(double step)
        Sets the step used to evaluate the formula
        Note: this method doesn't control the values of the interval, nor the value used for the step, it's merely a container.
        Parameters:
        step - new step