Package detectionPlotFX.plots
Class FFTSettingsPane<D extends PamDataUnit>
java.lang.Object
PamController.SettingsPane<FFTPlotParams>
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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected javafx.scene.layout.PaneThe pane which controls FFT length, hop and window sizevoidenableTimeBufferSpinner(boolean enable) Get the colour combo box which allows users to change the gradient colour of the spectrogram.javafx.scene.NodeGet node for GUI change of settings.Get the FFTLength Spinner.javafx.scene.layout.PaneGet 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.protected voidCheck new settings.voidCalled when settings pane is first initialised.voidsetParams(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, setAllowNotifyMethods 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.
 - 
createFFTSettingsPane
protected javafx.scene.layout.Pane createFFTSettingsPane()The pane which controls FFT length, hop and window size- Returns:
 - the FFT settings pane.
 
 - 
getFftLengthSpinner
Get the FFTLength Spinner.- Returns:
 - - the FFT spinner.
 
 - 
newSettings
protected void newSettings()Check new settings. - 
getParams
Get the params from the current settings of the controls.- Specified by:
 getParamsin classSettingsPane<FFTPlotParams>- Parameters:
 wignerParams- - the params to set.- Returns:
 - the new FFT parameters
 
 - 
setParams
Description copied from class:SettingsPaneCalled whenever the pane is first shown/open to set pane to show current settings.- Specified by:
 setParamsin classSettingsPane<FFTPlotParams>- Parameters:
 input- - current settings class.
 - 
getName
Description copied from class:SettingsPaneGet the name of the pane.- Specified by:
 getNamein classSettingsPane<FFTPlotParams>- Returns:
 - name of the pane
 
 - 
getContentNode
public javafx.scene.Node getContentNode()Description copied from class:SettingsPaneGet node for GUI change of settings.- Specified by:
 getContentNodein classSettingsPane<FFTPlotParams>
 - 
paneInitialized
public void paneInitialized()Description copied from class:SettingsPaneCalled 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:
 paneInitializedin 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.
 
 
 -