Package pamViewFX.fxNodes.utilityPanes
Class FilterPaneFX
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.Node
javafx.scene.Node
Create the filter pane.javafx.scene.Node
Get node for GUI change of settings.A VBox which holds all the main controls for the pane but not the graph.getName()
Get the name of the pane.Get settings from the pane.void
Called when settings pane is first initialised.void
setParams
(FilterParams filterParams) Called whenever the pane is first shown/open to set pane to show current settings.void
setSampleRate
(float sampleRate) void
Update the bode graphMethods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow
-
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
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<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 classSettingsPane<FilterParams>
-
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<FilterParams>
- Parameters:
filterParams
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<FilterParams>
- Returns:
- name of the pane
-
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 classSettingsPane<FilterParams>
-