jmri.jmrit.audio
Class NullAudioListener
java.lang.Object
jmri.implementation.AbstractNamedBean
jmri.implementation.AbstractAudio
jmri.jmrit.audio.AbstractAudioListener
jmri.jmrit.audio.NullAudioListener
- All Implemented Interfaces:
- Serializable, Audio, AudioListener, NamedBean
public class NullAudioListener
- extends AbstractAudioListener
Null implementation of the Audio Listener sub-class.
For now, no system-specific implementations are forseen - this will remain
internal-only
This file is part of JMRI.
JMRI is free software; you can redistribute it and/or modify it under
the terms of version 2 of the GNU General Public License as published
by the Free Software Foundation. See the "COPYING" file for a copy
of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
- Author:
- Matthew Harris copyright (c) 2009
- See Also:
- Serialized Form
| Fields inherited from interface jmri.Audio |
AT, BUFFER, CMD_BIND_BUFFER, CMD_FADE_IN, CMD_FADE_OUT, CMD_INIT_FACTORY, CMD_LOAD_SOUND, CMD_PAUSE, CMD_PAUSE_TOGGLE, CMD_PLAY, CMD_PLAY_TOGGLE, CMD_RESET_POSITION, CMD_RESUME, CMD_REWIND, CMD_STOP, DECIMAL_PLACES, FADE_IN, FADE_NONE, FADE_OUT, LISTENER, MAX_DISTANCE, SOURCE, STATE_EMPTY, STATE_INITIAL, STATE_LOADED, STATE_MOVING, STATE_PLAYING, STATE_POSITIONED, STATE_STOPPED, UP |
|
Method Summary |
protected void |
changePosition(Vector3f pos)
Method to change the current position of this source |
protected void |
cleanUp()
Abstract method that concrete classes will implement to perform necessary
cleanup routines. |
| Methods inherited from class jmri.jmrit.audio.AbstractAudioListener |
calculateCurrentPosition, doResetCurrentPosition, getCurrentOrientation, getCurrentPosition, getGain, getMetersPerUnit, getOrientation, getPosition, getSubType, getVelocity, resetCurrentPosition, setGain, setMetersPerUnit, setOrientation, setPosition, setPosition, setPosition, setVelocity, stateChanged, toString |
| Methods inherited from class jmri.implementation.AbstractNamedBean |
addPropertyChangeListener, addPropertyChangeListener, dispose, firePropertyChange, getComment, getDisplayName, getListenerRef, getListenerRefs, getNumPropertyChangeListeners, getProperty, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyKeys, getSystemName, getUserName, removePropertyChangeListener, setComment, setProperty, setUserName, updateListenerRef |
| Methods inherited from interface jmri.NamedBean |
addPropertyChangeListener, addPropertyChangeListener, dispose, getComment, getDisplayName, getListenerRef, getListenerRefs, getNumPropertyChangeListeners, getProperty, getPropertyChangeListeners, getPropertyKeys, getState, getSystemName, getUserName, removePropertyChangeListener, setComment, setProperty, setState, setUserName, updateListenerRef |
NullAudioListener
public NullAudioListener(String systemName)
- Constructor for new NullAudioListener with system name
- Parameters:
systemName - AudioListener object system name (e.g. IAL)
NullAudioListener
public NullAudioListener(String systemName,
String userName)
- Constructor for new NullAudioListener with system name and user name
- Parameters:
systemName - AudioListener object system name (e.g. IAL)userName - AudioListener object user name
changePosition
protected void changePosition(Vector3f pos)
- Description copied from class:
AbstractAudioListener
- Method to change the current position of this source
- Specified by:
changePosition in class AbstractAudioListener
- Parameters:
pos - new position
cleanUp
protected void cleanUp()
- Description copied from class:
AbstractAudio
- Abstract method that concrete classes will implement to perform necessary
cleanup routines.
- Specified by:
cleanUp in class AbstractAudio
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: