Class StandardModelPane
java.lang.Object
PamController.SettingsPane<StandardModelParams>
rawDeepLearningClassifier.dlClassification.animalSpot.StandardModelPane
- Direct Known Subclasses:
ArchiveModelPane
,GenericModelPane
,KetosModelPane
,SoundSpotModelPane
Settings pane for SoundSpot
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the advanced settings pane.javafx.scene.Node
Get node for GUI change of settings.Get the currently selected model file.static int
getDefaultSamples
(DLClassiferModel dlClassifierModel, StandardModelParams paramsClone) getName()
Get the name of the pane.getParams
(StandardModelParams currParams) Get settings from the pane.abstract void
newModelSelected
(File file) Called whenever a new model has been selectedvoid
Called when settings pane is first initialised.void
setAdvSettingsPane
(SettingsPane advSettingsPane) Set the advanced settings pane.void
setCurrentSelectedFile
(File currentSelectedFile) Set the currently selected model filevoid
setParams
(StandardModelParams currParams) Called whenever the pane is first shown/open to set pane to show current settings.void
setParamsClone
(StandardModelParams paramsClone) Set the params clone.void
showAdvPane
(PamButton advSettingsButton) Sho0w the advanced settings.Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow
-
Constructor Details
-
StandardModelPane
-
-
Method Details
-
getDefaultSamples
public static int getDefaultSamples(DLClassiferModel dlClassifierModel, StandardModelParams paramsClone) -
newModelSelected
Called whenever a new model has been selected- Parameters:
file
- - the file.
-
showAdvPane
Sho0w the advanced settings.- Parameters:
advSettingsButton
- - the advanced settings.
-
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<StandardModelParams>
- Returns:
- settings class
-
setParams
Description copied from class:SettingsPane
Called whenever the pane is first shown/open to set pane to show current settings.- Specified by:
setParams
in classSettingsPane<StandardModelParams>
- Parameters:
currParams
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<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 classSettingsPane<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 classSettingsPane<StandardModelParams>
-
getParamsClone
-
setParamsClone
Set the params clone.- Parameters:
paramsClone
-
-
getCurrentSelectedFile
Get the currently selected model file.- Returns:
- the currently selected model file.
-
setCurrentSelectedFile
Set the currently selected model file- Parameters:
currentSelectedFile
- - the currently selected model file.
-
getAdvSettingsPane
Get the advanced settings pane.- Returns:
- the advanced settings pane.
-
setAdvSettingsPane
Set the advanced settings pane. The advanced s pane to set.- Parameters:
advSettingsPane
-
-
getVBoxHolder
-