Package PamguardMVC.dataSelector
Class CompoundDataSelector
java.lang.Object
PamguardMVC.dataSelector.DataSelector
PamguardMVC.dataSelector.CompoundDataSelector
- 
Constructor Summary
ConstructorsConstructorDescriptionCompoundDataSelector(PamDataBlock pamDataBlock, ArrayList<DataSelector> allSelectors, String selectorName, boolean allowScores, String selectorType)  - 
Method Summary
Modifier and TypeMethodDescriptionfindDataSelector(Class selectorClass) Find a data selector within a data selector.Get selection parameters for more organised centralised storage.doublescoreData(PamDataUnit pamDataUnit) Score a PAMDataUnit.voidsetParams(DataSelectParams dataSelectParams) Set selection parameters from centralised storage.Methods inherited from class PamguardMVC.dataSelector.DataSelector
getDescription, getDialogButton, getDialogButton, getLongSelectorName, getMenuItem, getPamDataBlock, getSelectorName, getSelectorTitle, getSQLSelectClause, isAllowScores, setSelectorTitle, showSelectDialog 
- 
Constructor Details
- 
CompoundDataSelector
public CompoundDataSelector(PamDataBlock pamDataBlock, ArrayList<DataSelector> allSelectors, String selectorName, boolean allowScores, String selectorType)  
 - 
 - 
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.
 
 - 
getSelectorList
- Returns:
 - the selectorList
 
 - 
findDataSelector
Description copied from class:DataSelectorFind a data selector within a data selector. This is primarily for use with ComoundDataSelector objects which may encapsulate multiple other selectors, particularly when annotations are in use. but it's needed here so that it can be called on any DataSelector object.- Overrides:
 findDataSelectorin classDataSelector- Parameters:
 selectorClass- class to data selector to find.- Returns:
 - DataSelector or null if that class of data selector doesn't exist.
 
 
 -