Class GraphRendererModel


  • public class GraphRendererModel
    extends Object
    This class handles a set of function for the GraphRenderer
    Author:
    Stephan Michels <stephan@vern.chem.tu-berlin.de>
    Source code:
    main
    Belongs to CDK module:
    qm
    Created on:
    2001-07-02
    • Constructor Detail

      • GraphRendererModel

        public GraphRendererModel()
    • Method Detail

      • setX

        public void setX​(double xmin,
                         double xmax)
        Sets the function area, which will painted
      • setY

        public void setY​(double ymin,
                         double ymax)
        Sets the function area, which will painted
      • getXMin

        public double getXMin()
        Gets the function area, which will painted
      • getXMax

        public double getXMax()
        Sets the function area, which will painted
      • getYMin

        public double getYMin()
        Sets the function area, which will painted
      • getYMax

        public double getYMax()
        Sets the function area, which will painted
      • setTitle

        public void setTitle​(String string)
        Set the main title
      • getTitle

        public String getTitle()
        Get the main title
      • setXTitle

        public void setXTitle​(String string)
        Set the title of the x axis
      • getXTitle

        public String getXTitle()
        Get the title of the x axis
      • setYTitle

        public void setYTitle​(String string)
        Set the title of the y axis
      • getYTitle

        public String getYTitle()
        Get the title of the y axis
      • setDisplayMode

        public void setDisplayMode​(int mode)
        Set the display mode
      • getDisplayMode

        public int getDisplayMode()
        Get the display mode
      • addFunction

        public void addFunction​(IFunction function)
        Add a function to the set of functions
      • addFunction

        public void addFunction​(IFunction function,
                                Color color)
        Add a function to the set of functions
      • getFunctionsSize

        public int getFunctionsSize()
        Get the count of functions in this set
      • getFunction

        public IFunction getFunction​(int index)
        Get a function from this set
      • getFunctionColor

        public Color getFunctionColor​(int index)
        Get a color from a function in this set