Class CTDataSelectPanel

java.lang.Object
clickTrainDetector.layout.dataselector.CTDataSelectPanel
All Implemented Interfaces:
PamDialogPanel

public class CTDataSelectPanel extends Object implements PamDialogPanel
Specific data selector parameters panel for the click train detector.
Author:
Jamie Macaulay
  • Constructor Details

    • CTDataSelectPanel

      public CTDataSelectPanel(CTDataSelector ctDataSelector, boolean allowScores)
  • Method Details

    • getDialogComponent

      public JComponent getDialogComponent()
      Description copied from interface: PamDialogPanel
      Get the awt component which will be incorporated into a larger display panel / component.
      Specified by:
      getDialogComponent in interface PamDialogPanel
      Returns:
      an awt component.
    • setParams

      public void setParams()
      Description copied from interface: PamDialogPanel
      Set the initial parameter values in the panel. Since this interface is purely abstract, the type of parameter is unknown, so concrete implementations will somehow have to pass the class containing the parameter information in some other way.
      Specified by:
      setParams in interface PamDialogPanel
    • getParams

      public CTSelectParams getParams(CTSelectParams dataSelectParams)
      Get the parameters from controls.
      Parameters:
      dataSelectParams - - the params to set fields from controls.
      Returns:
      the input params with changed fields (not cloned)
    • getParams

      public boolean getParams()
      Specified by:
      getParams in interface PamDialogPanel
      Returns:
      true if parameters all have acceptable values and the dialog can close.
    • setParams

      public void setParams(CTSelectParams dataSelectParams)