Package clickDetector.ClickClassifiers
Class NullClassifier
java.lang.Object
clickDetector.ClickClassifiers.NullClassifier
- All Implemented Interfaces:
 ClickIdentifier,ClickTypeProvider
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintcodeToListIndex(int code) Returns the index in the list for the click type.A pane which holds specific settings for the click classifier type selected.doublegetClickLength(ClickDetection click) Returns the click length for the sweep classifier, using the times returned by the SweepClassifierWorker method getLengthData.int[]Returns a list of the currently-defined click types / species codes.getCommonParams(int code) Return the superclass of the click type parameters class - currently used for accessing the alarm functions.getDialogPanel(Frame windowFrame) getMenuItem(Frame parentFrame) getParamsInfo(ClickDetection click) double[]getPeakSearchRange(ClickDetection click) method used to get peak frequency search range from sweep identifier.String[]Get a list of species names.getSpeciesName(int code) getSymbol(ClickDetection click) Get symbols for each click type.Get a list of symbols for each species corresponding to getSpeciesList.return the zeroCrossingStats object in the case of the sweep classifier, or a null.identify(ClickDetection click) Identify a click detection as a click type. 
- 
Constructor Details
- 
NullClassifier
public NullClassifier() 
 - 
 - 
Method Details
- 
codeToListIndex
public int codeToListIndex(int code) Description copied from interface:ClickTypeProviderReturns the index in the list for the click type.- Specified by:
 codeToListIndexin interfaceClickTypeProvider- Parameters:
 code- - the click type code- Returns:
 - the index.
 
 - 
getDialogPanel
- Specified by:
 getDialogPanelin interfaceClickIdentifier
 - 
getMenuItem
- Specified by:
 getMenuItemin interfaceClickIdentifier
 - 
getSpeciesName
- Specified by:
 getSpeciesNamein interfaceClickIdentifier
 - 
getSpeciesList
Description copied from interface:ClickTypeProviderGet a list of species names.- Specified by:
 getSpeciesListin interfaceClickTypeProvider- Returns:
 - list speces names.
 
 - 
getSymbol
- Specified by:
 getSymbolin interfaceClickIdentifier
 - 
getSymbols
Description copied from interface:ClickIdentifierGet symbols for each click type.- Specified by:
 getSymbolsin interfaceClickIdentifier- Returns:
 - the symbols for type.
 
 - 
identify
Description copied from interface:ClickIdentifierIdentify a click detection as a click type.- Specified by:
 identifyin interfaceClickIdentifier- Parameters:
 click- - the click to identfy.- Returns:
 - the click to
 
 - 
getParamsInfo
- Specified by:
 getParamsInfoin interfaceClickIdentifier
 - 
getZeroCrossingStats
Description copied from interface:ClickIdentifierreturn the zeroCrossingStats object in the case of the sweep classifier, or a null. 2014/07/25 MO- Specified by:
 getZeroCrossingStatsin interfaceClickIdentifier- Parameters:
 click- the clickDetection to examine- Returns:
 
 - 
getPeakSearchRange
method used to get peak frequency search range from sweep identifier. Return null for basic identifier 2014/08/03 MO- Specified by:
 getPeakSearchRangein interfaceClickIdentifier- Parameters:
 click- the clickDetection to examine- Returns:
 
 - 
getCodeList
public int[] getCodeList()Description copied from interface:ClickTypeProviderReturns a list of the currently-defined click types / species codes.- Specified by:
 getCodeListin interfaceClickTypeProvider- Returns:
 - int array with the codes
 
 - 
getCommonParams
Description copied from interface:ClickIdentifierReturn the superclass of the click type parameters class - currently used for accessing the alarm functions. Subclasses include ClickTypeParams and SweepClassifierSet.- Specified by:
 getCommonParamsin interfaceClickIdentifier- Parameters:
 code- the click type to check- Returns:
 - the ClickTypeCommonParams object related to the species code
 
 - 
getClickLength
Returns the click length for the sweep classifier, using the times returned by the SweepClassifierWorker method getLengthData. In the case of a different classifier, a 0 is returned 2014/10/13 MO- Specified by:
 getClickLengthin interfaceClickIdentifier- Parameters:
 click- the current click detection- Returns:
 - the click duration, in seconds
 
 - 
getClassifierPane
Description copied from interface:ClickIdentifierA pane which holds specific settings for the click classifier type selected.- Specified by:
 getClassifierPanein interfaceClickIdentifier- Returns:
 - the classifier pane
 
 - 
getSymbolsData
Description copied from interface:ClickTypeProviderGet a list of symbols for each species corresponding to getSpeciesList.- Specified by:
 getSymbolsDatain interfaceClickTypeProvider- Returns:
 - list of species symbols.
 
 
 -