Package adams.data.filter
Class AudioAnnotationsWindow
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.filter.AbstractFilter<AudioAnnotations>
-
- adams.data.filter.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
-
-
Constructor Summary
Constructors Constructor Description AudioAnnotationsWindow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddefineOptions()Adds options to the internal list of options.StringendTipText()Returns the tip text for this property.adams.core.base.BaseTimeMsecgetEnd()The end timestamp of annotations.booleangetInvert()Returns whether the matching is inverted.adams.core.base.BaseTimeMsecgetStart()The start timestamp of annotations.StringglobalInfo()Returns a string describing the object.StringinvertTipText()Returns the tip text for this property.protected AudioAnnotationsprocessData(AudioAnnotations data)Performs the actual filtering.voidsetEnd(adams.core.base.BaseTimeMsec value)Sets the end timestamp for annotations.voidsetInvert(boolean value)Sets whether to invert the matching.voidsetStart(adams.core.base.BaseTimeMsec value)Sets the start timestamp for annotations.StringstartTipText()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 class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfoin interfaceadams.core.GlobalInfoSupporter- Specified by:
globalInfoin classadams.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:
defineOptionsin interfaceadams.core.option.OptionHandler- Overrides:
defineOptionsin classadams.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:
processDatain classadams.data.filter.AbstractFilter<AudioAnnotations>- Parameters:
data- the data to filter- Returns:
- the filtered data
-
-