Class AudioAnnotationsWindow

  • 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<adams.data.filter.Filter>, adams.core.SizeOfHandler, adams.data.filter.Filter<AudioAnnotations>, Serializable, Comparable

    public class AudioAnnotationsWindow
    extends adams.data.filter.AbstractFilter<AudioAnnotations>
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class adams.data.filter.AbstractFilter

        adams.data.filter.AbstractFilter.FilterJob<T extends adams.data.container.DataContainer>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected adams.core.base.BaseTimeMsec m_End
      the end point.
      protected boolean m_Invert
      whether to invert the matching.
      protected adams.core.base.BaseTimeMsec m_Start
      the starting point.
      • Fields inherited from class adams.data.filter.AbstractFilter

        m_DontUpdateID
      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void defineOptions()
      Adds options to the internal list of options.
      String endTipText()
      Returns the tip text for this property.
      adams.core.base.BaseTimeMsec getEnd()
      The end timestamp of annotations.
      boolean getInvert()
      Returns whether the matching is inverted.
      adams.core.base.BaseTimeMsec getStart()
      The start timestamp of annotations.
      String globalInfo()
      Returns a string describing the object.
      String invertTipText()
      Returns the tip text for this property.
      protected AudioAnnotations processData​(AudioAnnotations data)
      Performs the actual filtering.
      void setEnd​(adams.core.base.BaseTimeMsec value)
      Sets the end timestamp for annotations.
      void setInvert​(boolean value)
      Sets whether to invert the matching.
      void setStart​(adams.core.base.BaseTimeMsec value)
      Sets the start timestamp for annotations.
      String startTipText()
      Returns the tip text for this property.
      • Methods inherited from class adams.data.filter.AbstractFilter

        checkData, cleanUp, compareTo, destroy, dontUpdateIDTipText, equals, filter, forCommandLine, getDontUpdateID, reset, setDontUpdateID, shallowCopy, shallowCopy
      • Methods inherited from class adams.core.option.AbstractOptionHandler

        cleanUpOptions, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel, setLoggingLevel
      • Methods inherited from interface adams.core.logging.LoggingSupporter

        getLogger, isLoggingEnabled
      • Methods inherited from interface adams.core.option.OptionHandler

        cleanUpOptions, getOptionManager, toCommandLine
    • Field Detail

      • m_Start

        protected adams.core.base.BaseTimeMsec m_Start
        the starting point.
      • m_End

        protected adams.core.base.BaseTimeMsec m_End
        the end point.
      • m_Invert

        protected boolean m_Invert
        whether to invert the matching.
    • Constructor Detail

      • AudioAnnotationsWindow

        public AudioAnnotationsWindow()
    • 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 adams.data.filter.AbstractFilter<AudioAnnotations>
      • setStart

        public void setStart​(adams.core.base.BaseTimeMsec value)
        Sets the start timestamp for annotations.
        Parameters:
        value - the timestamp
      • getStart

        public adams.core.base.BaseTimeMsec getStart()
        The start timestamp of annotations.
        Returns:
        the timestamp
      • startTipText

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

        public void setEnd​(adams.core.base.BaseTimeMsec value)
        Sets the end timestamp for annotations.
        Parameters:
        value - the timestamp
      • getEnd

        public adams.core.base.BaseTimeMsec getEnd()
        The end timestamp of annotations.
        Returns:
        the timestamp
      • endTipText

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

        public void setInvert​(boolean value)
        Sets whether to invert the matching.
        Parameters:
        value - true if to invert
      • getInvert

        public boolean getInvert()
        Returns whether the matching is inverted.
        Returns:
        true if inverted
      • invertTipText

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

        protected AudioAnnotations processData​(AudioAnnotations data)
        Performs the actual filtering.
        Specified by:
        processData in class adams.data.filter.AbstractFilter<AudioAnnotations>
        Parameters:
        data - the data to filter
        Returns:
        the filtered data