Class Density

    • Field Detail

      • m_NumBins

        protected int m_NumBins
        the number of bins to generate on X and Y.
      • m_Bandwidth

        protected double m_Bandwidth
        the bandwidth.
    • Constructor Detail

      • Density

        public Density()
    • Method Detail

      • setMode

        public void setMode​(Density.Mode value)
        Sets the mode to use.
        Parameters:
        value - the mode
      • getMode

        public Density.Mode getMode()
        Returns the mode to use.
        Returns:
        the mode
      • modeTipText

        public String modeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setNumBins

        public void setNumBins​(int value)
        Sets the number of bins to generate on X and Y axis.
        Parameters:
        value - the number of bins
      • getNumBins

        public int getNumBins()
        Returns the number of bins to generate on X and Y axis.
        Returns:
        the number of bins
      • numBinsTipText

        public String numBinsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setBandwidth

        public void setBandwidth​(double value)
        Sets the bandwidth for kernel density estimates.
        Parameters:
        value - the bandwidth
      • getBandwidth

        public double getBandwidth()
        Returns the bandwidth for kernel density estimates.
        Returns:
        the bandwidth
      • bandwidthTipText

        public String bandwidthTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setGenerator

        public void setGenerator​(ColorGradientGenerator value)
        Sets the color generator.
        Parameters:
        value - the generator
      • getGenerator

        public ColorGradientGenerator getGenerator()
        Returns the color generator.
        Returns:
        the generator
      • generatorTipText

        public String generatorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.