Package PamguardMVC.dataSelector
Class SuperDetDataSelector
java.lang.Object
PamguardMVC.dataSelector.DataSelector
PamguardMVC.dataSelector.SuperDetDataSelector
-
Constructor Summary
ConstructorDescriptionSuperDetDataSelector
(SuperDetDataBlock superDataBlock, DataSelector dataSelector) -
Method Summary
Modifier and TypeMethodDescriptionGet selection parameters for more organised centralised storage.This is the name used to identify the data selector in a hash table of all data selectors for a specific datablock so should be the unique name of the display in order that each display can use a different selection.This is a title for the data selector which can be used in dialogs.getSQLSelectClause
(SQLTypes sqlTypes) Get a database clause which can be used with a database Query for this data type.boolean
double
scoreData
(PamDataUnit pamDataUnit) Score a PAMDataUnit.void
setParams
(DataSelectParams dataSelectParams) Set selection parameters from centralised storage.Methods inherited from class PamguardMVC.dataSelector.DataSelector
findDataSelector, getDescription, getDialogButton, getDialogButton, getLongSelectorName, getMenuItem, getPamDataBlock, setSelectorTitle, showSelectDialog
-
Constructor Details
-
SuperDetDataSelector
-
-
Method Details
-
setParams
Description copied from class:DataSelector
Set selection parameters from centralised storage.- Specified by:
setParams
in classDataSelector
-
getParams
Description copied from class:DataSelector
Get 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:
getParams
in classDataSelector
- Returns:
-
getDialogPanel
- Specified by:
getDialogPanel
in classDataSelector
- Returns:
- a dialog panel which can be used in a wider dialog
-
getDialogPaneFX
- Specified by:
getDialogPaneFX
in classDataSelector
- Returns:
- a FX pane which can be used in a wider dialog
-
scoreData
Description copied from class:DataSelector
Score 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:
scoreData
in classDataSelector
- Parameters:
pamDataUnit
- - the input data unit.- Returns:
- score of data out. 0 usually indicates false.
-
getSelectorName
Description copied from class:DataSelector
This is the name used to identify the data selector in a hash table of all data selectors for a specific datablock so should be the unique name of the display in order that each display can use a different selection.- Overrides:
getSelectorName
in classDataSelector
- Returns:
- the selectorName
-
getSQLSelectClause
Description copied from class:DataSelector
Get a database clause which can be used with a database Query for this data type. These may easily end up in an inner join, so in the clause, spell out column names in full.- Overrides:
getSQLSelectClause
in classDataSelector
- Returns:
- a database clause.
-
isAllowScores
public boolean isAllowScores()- Overrides:
isAllowScores
in classDataSelector
- Returns:
- the allowScores
-
getSelectorTitle
Description copied from class:DataSelector
This is a title for the data selector which can be used in dialogs. This can be different to the name, since the name is generally the display, which we know anyway. Particularly with complicated compound data selectors, it's useful to have a more informative name for various sub-components.- Overrides:
getSelectorTitle
in classDataSelector
- Returns:
- title to use in dialog components.
-