java.lang.Object
PamController.SettingsPane<StandardModelParams>
rawDeepLearningClassifier.dlClassification.animalSpot.StandardModelPane
Direct Known Subclasses:
ArchiveModelPane, GenericModelPane, KetosModelPane, SoundSpotModelPane

public abstract class StandardModelPane extends SettingsPane<StandardModelParams>
Settings pane for SoundSpot
Author:
Jamie Macaulay
  • Constructor Details

    • StandardModelPane

      public StandardModelPane(DLClassiferModel soundSpotClassifier)
  • Method Details

    • getDefaultSamples

      public static int getDefaultSamples(DLClassiferModel dlClassifierModel, StandardModelParams paramsClone)
    • newModelSelected

      public abstract void newModelSelected(File file)
      Called whenever a new model has been selected
      Parameters:
      file - - the file.
    • showAdvPane

      public void showAdvPane(PamButton advSettingsButton)
      Sho0w the advanced settings.
      Parameters:
      advSettingsButton - - the advanced settings.
    • getParams

      public StandardModelParams getParams(StandardModelParams currParams)
      Description copied from class: SettingsPane
      Get settings from the pane.
      Specified by:
      getParams in class SettingsPane<StandardModelParams>
      Returns:
      settings class
    • setParams

      public void setParams(StandardModelParams 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<StandardModelParams>
      Parameters:
      currParams - - current settings class.
    • getName

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

      public javafx.scene.Node getContentNode()
      Description copied from class: SettingsPane
      Get node for GUI change of settings.
      Specified by:
      getContentNode in class SettingsPane<StandardModelParams>
    • paneInitialized

      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<StandardModelParams>
    • getParamsClone

      public StandardModelParams getParamsClone()
    • setParamsClone

      public void setParamsClone(StandardModelParams paramsClone)
      Set the params clone.
      Parameters:
      paramsClone -
    • getCurrentSelectedFile

      public File getCurrentSelectedFile()
      Get the currently selected model file.
      Returns:
      the currently selected model file.
    • setCurrentSelectedFile

      public void setCurrentSelectedFile(File currentSelectedFile)
      Set the currently selected model file
      Parameters:
      currentSelectedFile - - the currently selected model file.
    • getAdvSettingsPane

      public SettingsPane getAdvSettingsPane()
      Get the advanced settings pane.
      Returns:
      the advanced settings pane.
    • setAdvSettingsPane

      public void setAdvSettingsPane(SettingsPane advSettingsPane)
      Set the advanced settings pane. The advanced s pane to set.
      Parameters:
      advSettingsPane -
    • getVBoxHolder

      public PamVBox getVBoxHolder()