Class Intensity

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.SizeOfHandler, Serializable

    public class Intensity
    extends AbstractSpectrumImageGeneratorWithRange
    Generates a simple intensity image.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Width

        protected int m_Width
        the image width to generate.
      • m_Height

        protected int m_Height
        the image height to generate.
    • Constructor Detail

      • Intensity

        public Intensity()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • setWidth

        public void setWidth​(int value)
        Sets the width of the image.
        Parameters:
        value - the width, -1 for auto-calculation
      • getWidth

        public int getWidth()
        Returns the width of the image.
        Returns:
        the width, -1 if auto-calculation
      • widthTipText

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

        public void setHeight​(int value)
        Sets the height of the image.
        Parameters:
        value - the height, -1 for auto-calculation
      • getHeight

        public int getHeight()
        Returns the height of the image.
        Returns:
        the height, -1 if auto-calculation
      • heightTipText

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