Class ClickDataSelector

java.lang.Object
PamguardMVC.dataSelector.DataSelector
clickDetector.dataSelector.ClickDataSelector

public class ClickDataSelector extends DataSelector
  • Constructor Details

    • ClickDataSelector

      public ClickDataSelector(ClickControl clickControl, ClickDataBlock clickDataBlock, String selectorName, boolean allowScores, boolean useEventTypes)
  • Method Details

    • getDialogPanel

      public PamDialogPanel getDialogPanel()
      Specified by:
      getDialogPanel in class DataSelector
      Returns:
      a dialog panel which can be used in a wider dialog
    • getDialogPaneFX

      public DynamicSettingsPane<Boolean> getDialogPaneFX()
      Specified by:
      getDialogPaneFX in class DataSelector
      Returns:
      a FX pane which can be used in a wider dialog
    • scoreData

      public double scoreData(PamDataUnit pamDataUnit)
      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 class DataSelector
      Parameters:
      pamDataUnit - - the input data unit.
      Returns:
      score of data out. 0 usually indicates false.
    • getClickControl

      public ClickControl getClickControl()
      Returns:
      the clickControl
    • getClickDataBlock

      public ClickDataBlock getClickDataBlock()
      Returns:
      the clickDataBlock
    • getClickAlarmParameters

      public ClickAlarmParameters getClickAlarmParameters()
      Returns:
      the clickAlarmParameters
    • setClickAlarmParameters

      public void setClickAlarmParameters(ClickAlarmParameters clickAlarmParameters)
      Parameters:
      clickAlarmParameters - the clickAlarmParameters to set
    • setParams

      public void setParams(DataSelectParams dataSelectParams)
      Description copied from class: DataSelector
      Set selection parameters from centralised storage.
      Specified by:
      setParams in class DataSelector
    • getParams

      public ClickAlarmParameters 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 class DataSelector
      Returns: