Package loggerForms.dataselect
Class FormDataSelector
java.lang.Object
PamguardMVC.dataSelector.DataSelector
loggerForms.dataselect.FormDataSelector
- 
Constructor Summary
ConstructorsConstructorDescriptionFormDataSelector(PamDataBlock pamDataBlock, FormDescription fromDescription, String selectorName, boolean allowScores)  - 
Method Summary
Modifier and TypeMethodDescriptionGet selection parameters for more organised centralised storage.This is a title for the data selector which can be used in dialogs.doublescoreData(PamDataUnit pamDataUnit) Score a PAMDataUnit.doublescoreData(PamDataUnit dataUnit, Object[] formData) voidsetParams(DataSelectParams dataSelectParams) Set selection parameters from centralised storage.Methods inherited from class PamguardMVC.dataSelector.DataSelector
findDataSelector, getDescription, getDialogButton, getDialogButton, getLongSelectorName, getMenuItem, getPamDataBlock, getSelectorName, getSQLSelectClause, isAllowScores, setSelectorTitle, showSelectDialog 
- 
Constructor Details
- 
FormDataSelector
public FormDataSelector(PamDataBlock pamDataBlock, FormDescription fromDescription, String selectorName, boolean allowScores)  
 - 
 - 
Method Details
- 
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:
 
 - 
getDialogPanel
- Specified by:
 getDialogPanelin classDataSelector- Returns:
 - a dialog panel which can be used in a wider dialog
 
 - 
getDialogPaneFX
- Specified by:
 getDialogPaneFXin classDataSelector- Returns:
 - a FX pane 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.
 
 - 
scoreData
 - 
getFromDescription
- Returns:
 - the fromDescription
 
 - 
getSelectorTitle
Description copied from class:DataSelectorThis 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:
 getSelectorTitlein classDataSelector- Returns:
 - title to use in dialog components.
 
 
 -