Class FilterPaneFX

java.lang.Object
PamController.SettingsPane<FilterParams>
pamViewFX.fxNodes.utilityPanes.FilterPaneFX

public class FilterPaneFX extends SettingsPane<FilterParams>
  • Constructor Details

    • FilterPaneFX

      public FilterPaneFX()
    • FilterPaneFX

      public FilterPaneFX(javafx.geometry.Orientation orientaiton)
  • Method Details

    • createFilterPane

      public javafx.scene.Node createFilterPane()
      Create the filter pane. This contains controls to change filter types and shows a graph of the current filter.
      Returns:
      pane with controls to change filter params.
    • getParams

      public FilterParams getParams(FilterParams f)
      Description copied from class: SettingsPane
      Get settings from the pane.
      Specified by:
      getParams in class SettingsPane<FilterParams>
      Returns:
      settings class
    • setSampleRate

      public void setSampleRate(float sampleRate)
    • createBodeGraph

      public javafx.scene.Node createBodeGraph()
    • getContentNode

      public javafx.scene.Node getContentNode()
      Description copied from class: SettingsPane
      Get node for GUI change of settings.
      Specified by:
      getContentNode in class SettingsPane<FilterParams>
    • setParams

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

      public String getName()
      Description copied from class: SettingsPane
      Get the name of the pane.
      Specified by:
      getName in class SettingsPane<FilterParams>
      Returns:
      name of the pane
    • getControlPane

      public PamVBox getControlPane()
      A VBox which holds all the main controls for the pane but not the graph. Can be used to add in custom controls such as a source level pane.
      Returns:
      a VBox holding the majority of controls in the pane.
    • updateBodeGraph

      public void updateBodeGraph()
      Update the bode graph
    • 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<FilterParams>