Package ca.phon.media
Class VolumeModel
java.lang.Object
ca.phon.media.VolumeModel
Volume model used by all media playback elements in the session editor.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final float
static final float
static final float
boolean
Muted -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener) float
getPropertyChangeListeners
(String propertyName) float
boolean
isMuted()
void
void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener) void
setMuted
(boolean muted) void
setVolumeLevel
(float volumeLevel)
-
Field Details
-
MIN_LEVEL
public static final float MIN_LEVEL- See Also:
-
DEFAULT_LEVEL
public static final float DEFAULT_LEVEL- See Also:
-
MAX_LEVEL
public static final float MAX_LEVEL- See Also:
-
muted
public boolean mutedMuted
-
-
Constructor Details
-
VolumeModel
public VolumeModel()
-
-
Method Details
-
getVolumeLevel
public float getVolumeLevel() -
setVolumeLevel
public void setVolumeLevel(float volumeLevel) -
isMuted
public boolean isMuted() -
setMuted
public void setMuted(boolean muted) -
getMaximumVolumeLevel
public float getMaximumVolumeLevel() -
addPropertyChangeListener
-
removePropertyChangeListener
-
getPropertyChangeListeners
-
addPropertyChangeListener
-
removePropertyChangeListener
-
getPropertyChangeListeners
-