Class DLSettingsPane

java.lang.Object
PamController.SettingsPane<RawDLParams>
rawDeepLearningClassifier.layoutFX.DLSettingsPane

public class DLSettingsPane extends SettingsPane<RawDLParams>
The settings pane.
Author:
Jamie Macaulay
  • Field Details Link icon

    • MAX_WIDTH Link icon

      public static double MAX_WIDTH
  • Constructor Details Link icon

    • DLSettingsPane Link icon

      public DLSettingsPane(DLControl dlControl)
  • Method Details Link icon

    • showAdvPane Link icon

      public void showAdvPane()
      Creates pane allowing the user to change fine scale things such as error limits.
    • getSegmentLenSpinner Link icon

      public PamSpinner<Integer> getSegmentLenSpinner()
      Get the segment length spinner.
      Returns:
      the segment spinner.
    • getHopLenSpinner Link icon

      public PamSpinner<Integer> getHopLenSpinner()
      Get the segment hop spinner.
      Returns:
      the segment spinner.
    • getParams Link icon

      public RawDLParams getParams(RawDLParams currParams)
      Description copied from class: SettingsPane
      Get settings from the pane.
      Specified by:
      getParams in class SettingsPane<RawDLParams>
      Returns:
      settings class
    • statusToWarnings Link icon

      public static PamWarning statusToWarnings(DLStatus dlStatus)
    • showWarning Link icon

      public void showWarning(DLStatus dlWarning)
      Show a warning dialog for the status
      Parameters:
      the - status to show
    • showWarning Link icon

      public void showWarning(PamWarning dlWarning)
      Show a warning dialog.
      Parameters:
      the - warning to show.
    • showWarning Link icon

      public void showWarning(ArrayList<PamWarning> dlWarnings)
      Show a warning dialog.
      Parameters:
      dlWarnings - - list of warnings - the most important will be shown.
    • setParams Link icon

      public void setParams(RawDLParams currParams)
      Description copied from class: SettingsPane
      Called whenever the pane is first shown/open to set pane to show current settings.
      Specified by:
      setParams in class SettingsPane<RawDLParams>
      Parameters:
      currParams - - current settings class.
    • getName Link icon

      public String getName()
      Description copied from class: SettingsPane
      Get the name of the pane.
      Specified by:
      getName in class SettingsPane<RawDLParams>
      Returns:
      name of the pane
    • getContentNode Link icon

      public javafx.scene.layout.Pane getContentNode()
      Description copied from class: SettingsPane
      Get node for GUI change of settings.
      Specified by:
      getContentNode in class SettingsPane<RawDLParams>
    • paneInitialized Link icon

      public void paneInitialized()
      Description copied from class: SettingsPane
      Called when settings pane is first initialised. This can be used if for example, a the size of a pane is needed for a param. (Sizes are only initialised when Nodes are shown);
      Specified by:
      paneInitialized in class SettingsPane<RawDLParams>
    • getSelectedParentDataBlock Link icon

      public PamDataBlock getSelectedParentDataBlock()
      Get the data block currently selected in the pane.
      Returns:
      the data block currently selected in the pane.
    • getDLControl Link icon

      public DLControl getDLControl()
      Get the DLControl associated with the pane.
      Returns:
      a reference to the DLControl.
    • setSegmentLength Link icon

      public void setSegmentLength(Double defaultSegmentLen)
      Convenience class to set the segment length in samples from milliseconds
      Parameters:
      defaultSegmentLen - - the segment length in milliseconds.
    • setHopLength Link icon

      public void setHopLength(Double hopLength)
      Convenience class to set the hop length in samples from milliseconds
      Parameters:
      defaultSegmentLen - - the segment length in milliseconds.