Class SpectrogramNoisePaneFX
java.lang.Object
PamController.SettingsPane<SpectrogramNoiseSettings>
spectrogramNoiseReduction.layoutFX.SpectrogramNoisePaneFX
JavaFX pane for changing SpectrogramNosie settings.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
javafx.scene.Node
Get node for GUI change of settings.getName()
Get the name of the pane.getParams
(SpectrogramNoiseSettings currParams) Get settings from the pane.boolean
hasProcessed
(int iMethod) Will return true for a method if either this panel has the method selected OR the source data has already had that method applied.void
Called when settings pane is first initialised.void
setParams
(SpectrogramNoiseSettings spectrogramNoiseSettings) Called whenever the pane is first shown/open to set pane to show current settings.void
setSource
(PamDataBlock sourceDataBlock) void
setSourcePanel
(SourcePaneFX sourcePane) Set a source panel so that the dialog panel can respond to source changes.Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow
-
Constructor Details
-
SpectrogramNoisePaneFX
-
-
Method Details
-
setSourcePanel
Set a source panel so that the dialog panel can respond to source changes.- Parameters:
sourcePanel
- sourcepanel.
-
setSource
-
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<SpectrogramNoiseSettings>
- Parameters:
spectrogramNoiseSettings
- - current settings class.
-
getParams
-
enableCheckControls
public void enableCheckControls() -
hasProcessed
public boolean hasProcessed(int iMethod) Will return true for a method if either this panel has the method selected OR the source data has already had that method applied.- Parameters:
iMethod
-- Returns:
- true if the method has been selected.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<SpectrogramNoiseSettings>
- 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<SpectrogramNoiseSettings>
-
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<SpectrogramNoiseSettings>
-
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<SpectrogramNoiseSettings>
- Returns:
- settings class
-