Package detectionPlotFX.plots
Class FFTSettingsPane<D extends PamDataUnit>
java.lang.Object
PamController.SettingsPane<T>
pamViewFX.fxSettingsPanes.DynamicSettingsPane<FFTPlotParams>
detectionPlotFX.plots.FFTSettingsPane<D>
- Type Parameters:
D
-
- All Implemented Interfaces:
DynamicSettings
- Direct Known Subclasses:
WaterFallSpecSettingsPane
,WhistleSettingsPane
The settings pane for the FFT plot.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enableTimeBufferSpinner
(boolean enable) Get the colour combo box which allows users to change the gradient colour of the spectrogram.javafx.scene.Node
Get node for GUI change of settings.Get the FFTLength Spinner.javafx.scene.layout.Pane
Get the Pane which holds the FFT Settings e..This is the main pane which holds the spectrogram colour and FFT settings.getName()
Get the name of the pane.getParams
(FFTPlotParams fftPlotParams) Get the params from the current settings of the controls.Get the pane with basic controls for the spectrogram.void
Called when settings pane is first initialised.void
setParams
(FFTPlotParams input) Called whenever the pane is first shown/open to set pane to show current settings.Methods inherited from class pamViewFX.fxSettingsPanes.DynamicSettingsPane
addSettingsListener, isAllowNotify, notifySettingsListeners, removeSettingsListener, setAllowNotify
Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow
-
Constructor Details
-
FFTSettingsPane
The FFT settings pane.
-
-
Method Details
-
enableTimeBufferSpinner
public void enableTimeBufferSpinner(boolean enable) - Parameters:
enable
- - true to enable.
-
getFftLengthSpinner
Get the FFTLength Spinner.- Returns:
- - the FFT spinner.
-
getParams
Get the params from the current settings of the controls.- Specified by:
getParams
in classSettingsPane<FFTPlotParams>
- Parameters:
wignerParams
- - the params to set.- Returns:
- the new FFT parameters
-
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<FFTPlotParams>
- Parameters:
input
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<FFTPlotParams>
- 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<FFTPlotParams>
-
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<FFTPlotParams>
-
getHolderPane
This is the main pane which holds the spectrogram colour and FFT settings.- Returns:
- the VBox holder.
-
getFFTPane
public javafx.scene.layout.Pane getFFTPane()Get the Pane which holds the FFT Settings e.. length hop etc.- Returns:
- the pane with controls for FFT settings.
-
getColorBox
Get the colour combo box which allows users to change the gradient colour of the spectrogram.- Returns:
- the colour combo box.
-
getSpectroControlPane
Get the pane with basic controls for the spectrogram.- Returns:
- the spectrogram control pane.
-