Package Acquisition.layoutFX
Class AcquisitionPaneFX
Settings pane for the sound acquisition parameters.
- Author:
 - Jamie Macaulay and Doug Gillespie.
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.layout.PaneCreate pane which shows current sample rate, the total number of channels and a software to hardware channel mapping pane.javafx.scene.control.TextFieldjavafx.scene.NodeGet node for GUI change of settings.Get the current DAQ systemGet the flip pane.getName()Get the name of the pane.getParams(AcquisitionParameters currParams) Get settings from the pane.voidCalled when settings pane is first initialised.voidsetChannels(int nChannels) Called by the specific DaqSystem to set the number of channels when it is set by the DaqSystem (for instance FileInputSystem will set it to the number of channels in the current file.voidsetParams(AcquisitionParameters input) Called whenever the pane is first shown/open to set pane to show current settings.voidsetSampleRate(float sampleRate) Called by the specific DaqSystem to set sample rate when it is set by the DaqSystem (for instance FileInputSystem will set sample rate to the sample rate of data in the current file.voidsetVPeak2Peak(double vPeak2Peak) Called by the specific DaqSystem to set the peak to peak voltage range.Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow 
- 
Constructor Details
- 
AcquisitionPaneFX
 
 - 
 - 
Method Details
- 
setSampleRate
public void setSampleRate(float sampleRate) Called by the specific DaqSystem to set sample rate when it is set by the DaqSystem (for instance FileInputSystem will set sample rate to the sample rate of data in the current file.- Parameters:
 sampleRate- Current sample rate
 - 
setChannels
public void setChannels(int nChannels) Called by the specific DaqSystem to set the number of channels when it is set by the DaqSystem (for instance FileInputSystem will set it to the number of channels in the current file.- Parameters:
 nChannels- Number of channels
 - 
setVPeak2Peak
public void setVPeak2Peak(double vPeak2Peak) Called by the specific DaqSystem to set the peak to peak voltage range. This is used for calculating absolute SPL's in various detectors the DaqSystem- Parameters:
 vPeak2Peak- Peak to Peak input voltage
 - 
createSamplingPane
public javafx.scene.layout.Pane createSamplingPane()Create pane which shows current sample rate, the total number of channels and a software to hardware channel mapping pane.- Returns:
 - sample rate and current channels
 
 - 
getParams
 - 
setParams
Description copied from class:SettingsPaneCalled whenever the pane is first shown/open to set pane to show current settings.- Specified by:
 setParamsin classSettingsPane<AcquisitionParameters>- Parameters:
 input- - current settings class.
 - 
getName
Description copied from class:SettingsPaneGet the name of the pane.- Specified by:
 getNamein classSettingsPane<AcquisitionParameters>- Returns:
 - name of the pane
 
 - 
getContentNode
public javafx.scene.Node getContentNode()Description copied from class:SettingsPaneGet node for GUI change of settings.- Specified by:
 getContentNodein classSettingsPane<AcquisitionParameters>
 - 
paneInitialized
public void paneInitialized()Description copied from class:SettingsPaneCalled 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:
 paneInitializedin classSettingsPane<AcquisitionParameters>
 - 
getCurrentDaqSystem
Get the current DAQ system- Returns:
 - the current DAQ system.
 
 - 
getParams
Description copied from class:SettingsPaneGet settings from the pane.- Specified by:
 getParamsin classSettingsPane<AcquisitionParameters>- Returns:
 - settings class
 
 - 
getFlipPane
Get the flip pane.- Returns:
 - the flip pane.
 
 - 
getAdvancedPane
 - 
getAdvancedLabel
public javafx.scene.control.TextField getAdvancedLabel() 
 -