Documentation of 'jhplot.FProxy' Java class.
FProxy
jhplot

Class FProxy

    • Constructor Detail

      • FProxy

        public FProxy(int type,              String title,              String name,              IFunction iname,              double[] limits,              int points,              boolean isParsed)
        Create a proxy for all functions of DMelt.
        Parameters:
        type - type (1=F1D, 2=F2D, 3=F3D, 4=FND, 5=FPR)
        title - title
        name - definition
        iname - IFunction
        limits - limits if ranged
        points - number of points for plots
        isParsed - if parsed or not.
    • Method Detail

      • setParsed

        public void setParsed(boolean parse)
      • getType

        public int getType()
        Get type of this function. F1D, F2D, F3D
        Returns:
        type. 1 for F1D, 2 for F2D, 3 for F3D.
      • getLimits

        public double[] getLimits()
        Get limits if any.
        Returns:
        limits for evaluation.
      • setLimit

        public void setLimit(int index,                     double value)
        Set limit entry
        Parameters:
        index - index of the limit
        value - value
      • getIFunction

        public IFunction getIFunction()
        Get Jaida function
        Returns:
      • getPoints

        public int getPoints()
        Get the number of points used for plotting, integration and differentiation.
        Returns:
        Number of points
      • getName

        public String getName()
        Get the name of the function used for evaluation
        Returns:
        Name
      • getTitle

        public String getTitle()
        Get the title of the function.
      • isParsed

        public boolean isParsed()
        If the function is parsed correctly, return true. Use this check before drawing it.
        Returns:
        true if parsed.
      • setName

        public void setName(String name)
        Set actual function definition.
        Parameters:
        name -
      • setTitle

        public void setTitle(String title)
        Set title.
        Parameters:
        title -
      • setLimits

        public void setLimits(double[] limits)
        Limits if function is ranged.
        Parameters:
        limits -
      • setPoints

        public void setPoints(int points)
        Numbers of points for evaluation.
        Parameters:
        points -
      • setType

        public void setType(int type)
        Set type. 1- F1D, 2-F2D, 3-F3D, 4-FND
        Parameters:
        type -
      • setIFunction

        public void setIFunction(IFunction iname)
      • setVariables

        public void setVariables(String variables)
        Set variable using commas
        Parameters:
        variables -
      • getVariables

        public String getVariables()
        Get variables
        Returns:

DMelt 2.7 © DataMelt by jWork.ORG