Class FFTSettingsPane<D extends PamDataUnit>

Type Parameters:
D -
All Implemented Interfaces:
DynamicSettings
Direct Known Subclasses:
WaterFallSpecSettingsPane, WhistleSettingsPane

public class FFTSettingsPane<D extends PamDataUnit> extends DynamicSettingsPane<FFTPlotParams>
The settings pane for the FFT plot.
Author:
Jamie Macaulay
  • Constructor Details

    • FFTSettingsPane

      public FFTSettingsPane(Object owner, FFTPlot fftPlot)
      The FFT settings pane.
  • Method Details

    • enableTimeBufferSpinner

      public void enableTimeBufferSpinner(boolean enable)
      Parameters:
      enable - - true to enable.
    • getFftLengthSpinner

      public PamSpinner<Integer> getFftLengthSpinner()
      Get the FFTLength Spinner.
      Returns:
      - the FFT spinner.
    • getParams

      public FFTPlotParams getParams(FFTPlotParams fftPlotParams)
      Get the params from the current settings of the controls.
      Specified by:
      getParams in class SettingsPane<FFTPlotParams>
      Parameters:
      wignerParams - - the params to set.
      Returns:
      the new FFT parameters
    • setParams

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

      public String getName()
      Description copied from class: SettingsPane
      Get the name of the pane.
      Specified by:
      getName in class SettingsPane<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 class SettingsPane<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 class SettingsPane<FFTPlotParams>
    • getHolderPane

      public PamHBox 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

      public ColorComboBox getColorBox()
      Get the colour combo box which allows users to change the gradient colour of the spectrogram.
      Returns:
      the colour combo box.
    • getSpectroControlPane

      public SpectrogramControlPane getSpectroControlPane()
      Get the pane with basic controls for the spectrogram.
      Returns:
      the spectrogram control pane.