Class SimpleFilterPaneFX

All Implemented Interfaces:
DynamicSettings

public class SimpleFilterPaneFX extends DynamicSettingsPane<FFTFilterParams>
A much simpler filter pane with just few options
Author:
Jamie Macualay
  • Constructor Details

    • SimpleFilterPaneFX

      public SimpleFilterPaneFX()
      Create a simple filter pane.
    • SimpleFilterPaneFX

      public SimpleFilterPaneFX(javafx.geometry.Orientation orientation)
      Create a simple filter pane.
      Parameters:
      orientation - - orientation of the pane. This changes the layout to be vertical or horizontal.
  • Method Details

    • setParams

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

      public FFTFilterParams getParams(FFTFilterParams fftFilterParams)
      Description copied from class: SettingsPane
      Get settings from the pane.
      Specified by:
      getParams in class SettingsPane<FFTFilterParams>
      Returns:
      settings class
    • getName

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

      public void setDisableFilterPane(boolean disable)
      Disable or enable the filter pane.
      Parameters:
      disable - - true to disable the pane
    • getSampleRate

      public double getSampleRate()
    • setSampleRate

      public void setSampleRate(double sampleRate)
    • addValueChangeListener

      public void addValueChangeListener(Object object)