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
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionjavafx.scene.layout.PaneCreate the playback pane.javafx.scene.NodeGet node for GUI change of settings.getName()Get the name of the pane.getParams(PlaybackParameters currParams) Get settings from the pane.voidCalled when settings pane is first initialised.voidvoidselectionChanged(int channel) voidsetParams(PlaybackParameters playbackParameters) Called whenever the pane is first shown/open to set pane to show current settings.protected voidMethods 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.
 
 - 
sourceChanged
protected void sourceChanged() - 
getParams
Description copied from class:SettingsPaneGet settings from the pane.- Specified by:
 getParamsin classSettingsPane<PlaybackParameters>- Returns:
 - settings class
 
 - 
setParams
Description copied from class:SettingsPaneCalled whenever the pane is first shown/open to set pane to show current settings.- Specified by:
 setParamsin classSettingsPane<PlaybackParameters>- Parameters:
 playbackParameters- - current settings class.
 - 
getName
Description copied from class:SettingsPaneGet the name of the pane.- Specified by:
 getNamein classSettingsPane<PlaybackParameters>- 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<PlaybackParameters>
 - 
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<PlaybackParameters>
 - 
selectionChanged
public void selectionChanged(int channel)  - 
playbackChange
public void playbackChange()- Specified by:
 playbackChangein interfacePlaybackChangeObserver
 
 -