Package Acquisition.layoutFX
Class FolderInputPane
JavaFX pane for the folder input of the sound acquisition.
- Author:
- Jamie Macaulay
-
Constructor Summary
ConstructorDescriptionFolderInputPane
(FolderInputSystem folderInputSystem2, AcquisitionPaneFX acquisitionPaneFX) -
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.Node
Get node for GUI change of settings.getName()
Get the name of the pane.boolean
Called by the acquisition pane whenever parameters are to be got.getParams
(FolderInputParameters folderInputParameters) Get settings from the pane.void
newFileList
(FileListData<WavFileType> fileListData) Called once the wav worker thread has finished making the audio file list.void
Called when settings pane is first initialised.void
setFileOptionPane
(javafx.collections.ObservableList<WavFileType> fileList) Set bespoke options for certain file types.void
setFileWorker
(PamWorker<FileListData<WavFileType>> worker) Called whenever a new file worker is initialised to search a folder for wav files.void
setNewFile
(String newFile, FolderInputParameters currParams) Called when user selects a file or folder in the dialog.void
these are the functions called by the aquisition main settings panevoid
setParams
(FolderInputParameters currParams) Called whenever the pane is first shown/open to set pane to show current settings.Methods inherited from class PamController.SettingsPane
getAWTWindow, getFXWindow, getHelpPoint, getOwnerWindow, notifyChange, repackContents, setDefaults, setOwnerWindow
-
Constructor Details
-
FolderInputPane
-
-
Method Details
-
setNewFile
Called when user selects a file or folder in the dialog.- Parameters:
newFile
- - the new file or folder.
-
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<FolderInputParameters>
- Returns:
- settings class
-
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<FolderInputParameters>
- Parameters:
currParams
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<FolderInputParameters>
- 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<FolderInputParameters>
-
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<FolderInputParameters>
-
newFileList
Called once the wav worker thread has finished making the audio file list.- Parameters:
fileListData
- - the list of new audio files.
-
setFileOptionPane
Set bespoke options for certain file types. -
setFileWorker
Called whenever a new file worker is initialised to search a folder for wav files.- Parameters:
worker
- - the new file worker being used.
-
setParams
public void setParams()these are the functions called by the aquisition main settings pane- Specified by:
setParams
in classDAQSettingsPane<FolderInputParameters>
-
getParams
public boolean getParams()Description copied from class:DAQSettingsPane
Called by the acquisition pane whenever parameters are to be got.- Specified by:
getParams
in classDAQSettingsPane<FolderInputParameters>
-