Package difar.dataSelector
Class DifarDataSelector
java.lang.Object
PamguardMVC.dataSelector.DataSelector
difar.dataSelector.DifarDataSelector
Data selector for DIFAR data units (displayed on the map)
Initially just a copy of the Whistle invalid input: '&' Moan Data Selector.
But now allows selection of DIFAR species too.
-
Constructor Summary
ConstructorsConstructorDescriptionDifarDataSelector(DifarControl difarControl, PamDataBlock pamDataBlock, String selectorName, boolean allowScores) -
Method Summary
Modifier and TypeMethodDescriptionGet selection parameters for more organised centralised storage.doublescoreData(PamDataUnit pamDataUnit) Score a PAMDataUnit.voidsetDifarSelectParameters(DifarSelectParameters difarSelectParameters) voidsetParams(DataSelectParams dataSelectParams) Set selection parameters from centralised storage.Methods inherited from class PamguardMVC.dataSelector.DataSelector
findDataSelector, getDescription, getDialogButton, getDialogButton, getLongSelectorName, getMenuItem, getPamDataBlock, getSelectorName, getSelectorTitle, getSQLSelectClause, isAllowScores, setSelectorTitle, showSelectDialog
-
Constructor Details
-
DifarDataSelector
public DifarDataSelector(DifarControl difarControl, PamDataBlock pamDataBlock, String selectorName, boolean allowScores)
-
-
Method Details
-
getDialogPanel
- Specified by:
getDialogPanelin classDataSelector- Returns:
- a dialog panel which can be used in a wider dialog
-
scoreData
Description copied from class:DataSelectorScore a PAMDataUnit. this is used in preference to a boolean select function so that the user can add different return flags. Generally 0 indicates false.- Specified by:
scoreDatain classDataSelector- Parameters:
pamDataUnit- - the input data unit.- Returns:
- score of data out. 0 usually indicates false.
-
getDifarSelectParameters
- Returns:
- the DifarSelectParameters
-
setDifarSelectParameters
- Parameters:
difarSelectParameters- the DifarSelectParameters to set
-
setParams
Description copied from class:DataSelectorSet selection parameters from centralised storage.- Specified by:
setParamsin classDataSelector- Parameters:
dataSelectParams-
-
getParams
Description copied from class:DataSelectorGet selection parameters for more organised centralised storage. This must never be null since all selectors have an enable / disable options added to them automatically in their dialogs.- Specified by:
getParamsin classDataSelector- Returns:
-
getDialogPaneFX
- Specified by:
getDialogPaneFXin classDataSelector- Returns:
- a FX pane which can be used in a wider dialog
-