Class AbstractFormatsBasedMultiSpectrumFilter

    • Field Detail

      • m_Formats

        protected adams.core.base.BaseString[] m_Formats
        the formats to average (empty = all).
      • m_NewFormat

        protected String m_NewFormat
        the new format to use.
    • Constructor Detail

      • AbstractFormatsBasedMultiSpectrumFilter

        public AbstractFormatsBasedMultiSpectrumFilter()
    • Method Detail

      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class AbstractMultiSpectrumFilter
      • setFormats

        public void setFormats​(adams.core.base.BaseString[] value)
        Sets the formats of the spectra to use.
        Parameters:
        value - the formats
      • getFormats

        public adams.core.base.BaseString[] getFormats()
        Returns the formats of the specta to use.
        Returns:
        the formats
      • formatsTipText

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

        protected abstract String getDefaultNewFormat()
        Returns the default format for the generated spectrum.
        Returns:
        the default format
      • setNewFormat

        public void setNewFormat​(String value)
        Sets the new format for the generated spectrum.
        Parameters:
        value - the new format
      • getNewFormat

        public String getNewFormat()
        Returns the new format for the generated spectrum.
        Returns:
        the new format
      • newFormatTipText

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