Package pamViewFX.fxNodes.utilityPanes
Class SimpleFilterPaneFX
java.lang.Object
PamController.SettingsPane<T>
pamViewFX.fxSettingsPanes.DynamicSettingsPane<FFTFilterParams>
pamViewFX.fxNodes.utilityPanes.SimpleFilterPaneFX
- All Implemented Interfaces:
DynamicSettings
A much simpler filter pane with just few options
- Author:
- Jamie Macualay
-
Constructor Summary
ConstructorDescriptionCreate a simple filter pane.SimpleFilterPaneFX
(javafx.geometry.Orientation orientation) Create a simple filter pane. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addValueChangeListener
(Object object) javafx.scene.Node
Get node for GUI change of settings.getName()
Get the name of the pane.getParams
(FFTFilterParams fftFilterParams) Get settings from the pane.double
void
Called when settings pane is first initialised.void
setDisableFilterPane
(boolean disable) Disable or enable the filter pane.void
setParams
(FFTFilterParams input) Called whenever the pane is first shown/open to set pane to show current settings.void
setSampleRate
(double sampleRate) 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
-
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
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<FFTFilterParams>
- Parameters:
input
- - current settings class.
-
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<FFTFilterParams>
- Returns:
- settings class
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<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 classSettingsPane<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 classSettingsPane<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
-