Package soundPlayback.fx
Class PlayBackPane
- All Implemented Interfaces:
PlaybackChangeObserver
public class PlayBackPane
extends SettingsPane<PlaybackParameters>
implements PlaybackChangeObserver
FX settings pane for the sound sound playback.
- Author:
- Jamie Macaulay
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.layout.Pane
Create the playback pane.javafx.scene.Node
Get node for GUI change of settings.getName()
Get the name of the pane.getParams
(PlaybackParameters currParams) Get settings from the pane.void
Called when settings pane is first initialised.void
void
selectionChanged
(int channel) void
setParams
(PlaybackParameters playbackParameters) 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
-
Field Details
-
PREF_WIDTH
public static final double PREF_WIDTH- See Also:
-
-
Constructor Details
-
PlayBackPane
-
-
Method Details
-
createPlaybackPane
public javafx.scene.layout.Pane createPlaybackPane()Create the playback pane.- Returns:
- the playback pane.
-
getParams
Description copied from class:SettingsPane
Get settings from the pane.- Specified by:
getParams
in classSettingsPane<PlaybackParameters>
- 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<PlaybackParameters>
- Parameters:
playbackParameters
- - current settings class.
-
getName
Description copied from class:SettingsPane
Get the name of the pane.- Specified by:
getName
in classSettingsPane<PlaybackParameters>
- 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<PlaybackParameters>
-
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<PlaybackParameters>
-
selectionChanged
public void selectionChanged(int channel) -
playbackChange
public void playbackChange()- Specified by:
playbackChange
in interfacePlaybackChangeObserver
-