public class NullClassifier extends java.lang.Object implements ClickIdentifier
Constructor and Description |
---|
NullClassifier() |
Modifier and Type | Method and Description |
---|---|
int |
codeToListIndex(int code) |
boolean |
fillXMLParamaeters(org.w3c.dom.Document doc,
org.w3c.dom.Element classEl) |
double |
getClickLength(ClickDetection click)
Returns the click length for the sweep classifier, using the times returned by the
SweepClassifierWorker method getLengthData.
|
int[] |
getCodeList()
Returns a list of the currently-defined click types / species codes
|
ClickTypeCommonParams |
getCommonParams(int code)
Return the superclass of the click type parameters class - currently used for
accessing the alarm functions.
|
ClassifyDialogPanel |
getDialogPanel(java.awt.Frame windowFrame) |
javax.swing.JMenuItem |
getMenuItem(java.awt.Frame parentFrame) |
java.lang.String |
getParamsInfo(ClickDetection click) |
double[] |
getPeakSearchRange(ClickDetection click)
method used to get peak frequency search range from sweep identifier.
|
java.lang.String[] |
getSpeciesList() |
java.lang.String |
getSpeciesName(int code) |
PamSymbol |
getSymbol(ClickDetection click) |
PamSymbol[] |
getSymbols() |
ZeroCrossingStats[] |
getZeroCrossingStats(ClickDetection click)
return the zeroCrossingStats object in the case of the sweep classifier, or a null.
|
ClickIdInformation |
identify(ClickDetection click) |
public int codeToListIndex(int code)
codeToListIndex
in interface ClickIdentifier
public ClassifyDialogPanel getDialogPanel(java.awt.Frame windowFrame)
getDialogPanel
in interface ClickIdentifier
public javax.swing.JMenuItem getMenuItem(java.awt.Frame parentFrame)
getMenuItem
in interface ClickIdentifier
public java.lang.String getSpeciesName(int code)
getSpeciesName
in interface ClickIdentifier
public java.lang.String[] getSpeciesList()
getSpeciesList
in interface ClickIdentifier
public PamSymbol getSymbol(ClickDetection click)
getSymbol
in interface ClickIdentifier
public PamSymbol[] getSymbols()
getSymbols
in interface ClickIdentifier
public ClickIdInformation identify(ClickDetection click)
identify
in interface ClickIdentifier
public boolean fillXMLParamaeters(org.w3c.dom.Document doc, org.w3c.dom.Element classEl)
fillXMLParamaeters
in interface ClickIdentifier
public java.lang.String getParamsInfo(ClickDetection click)
getParamsInfo
in interface ClickIdentifier
public ZeroCrossingStats[] getZeroCrossingStats(ClickDetection click)
ClickIdentifier
getZeroCrossingStats
in interface ClickIdentifier
click
- the clickDetection to examinepublic double[] getPeakSearchRange(ClickDetection click)
getPeakSearchRange
in interface ClickIdentifier
click
- the clickDetection to examinepublic int[] getCodeList()
ClickIdentifier
getCodeList
in interface ClickIdentifier
public ClickTypeCommonParams getCommonParams(int code)
ClickIdentifier
getCommonParams
in interface ClickIdentifier
code
- the click type to checkpublic double getClickLength(ClickDetection click)
getClickLength
in interface ClickIdentifier
click
- the current click detection