Class SimpleRowGenerator

  • All Implemented Interfaces:
    adams.core.CleanUpHandler, adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.ShallowCopySupporter<AbstractSpreadSheetRowGenerator>, adams.core.SizeOfHandler, Serializable, Comparable

    public class SimpleRowGenerator
    extends AbstractSpreadSheetRowGenerator
    Outputs spectral and sample data.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_WaveNumbersInHeader

        protected boolean m_WaveNumbersInHeader
        whether to use the wave numbers in the header.
      • m_AmplitudePrefix

        protected String m_AmplitudePrefix
        the amplitude column prefix.
      • m_ReferenceValues

        protected adams.data.report.Field[] m_ReferenceValues
        reference value fields to add to the output data.
      • m_ReferenceValuePrefix

        protected String m_ReferenceValuePrefix
        the reference value field prefix.
      • m_MetaDataFields

        protected adams.data.report.Field[] m_MetaDataFields
        meta-data fields to add to the output data.
      • m_MetaDataPrefix

        protected String m_MetaDataPrefix
        the meta-data field prefix.
    • Constructor Detail

      • SimpleRowGenerator

        public SimpleRowGenerator()
    • 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
      • 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 AbstractSpreadSheetRowGenerator
      • setWaveNumbersInHeader

        public void setWaveNumbersInHeader​(boolean value)
        Sets whether to use the wave numbers in the header.
        Parameters:
        value - true if in header
      • getWaveNumbersInHeader

        public boolean getWaveNumbersInHeader()
        Returns whether to use the wave numbers in the header.
        Returns:
        true if in header
      • waveNumbersInHeaderTipText

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

        public void setAmplitudePrefix​(String value)
        Sets the column prefix for the amplitudes.
        Parameters:
        value - the prefix
      • getAmplitudePrefix

        public String getAmplitudePrefix()
        Returns the column prefix for the amplitudes.
        Returns:
        the prefix
      • amplitudePrefixTipText

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

        public void setReferenceValues​(adams.data.report.Field[] value)
        Sets the reference value fields to add.
        Parameters:
        value - the fields
      • getReferenceValues

        public adams.data.report.Field[] getReferenceValues()
        Returns the reference value fields to add.
        Returns:
        the fields
      • referenceValuesTipText

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

        public void setReferenceValuePrefix​(String value)
        Sets the column prefix for the reference values.
        Parameters:
        value - the prefix
      • getReferenceValuePrefix

        public String getReferenceValuePrefix()
        Returns the column prefix for the reference values.
        Returns:
        the prefix
      • referenceValuePrefixTipText

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

        public void setMetaDataFields​(adams.data.report.Field[] value)
        Sets the meta-data fields to add.
        Parameters:
        value - the fields
      • getMetaDataFields

        public adams.data.report.Field[] getMetaDataFields()
        Returns the meta-data fields to add.
        Returns:
        the fields
      • metaDataFieldsTipText

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

        public void setMetaDataPrefix​(String value)
        Sets the column prefix for the meta-data values.
        Parameters:
        value - the prefix
      • getMetaDataPrefix

        public String getMetaDataPrefix()
        Returns the column prefix for the meta-data values.
        Returns:
        the prefix
      • metaDataPrefixTipText

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