Class VolumeModel
java.lang.Object
ca.phon.media.VolumeModel
Volume model used by all media playback elements in the session editor.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final floatstatic final floatbooleanMuted -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener) floatgetPropertyChangeListeners(String propertyName) floatbooleanisMuted()voidvoidremovePropertyChangeListener(String propertyName, PropertyChangeListener listener) voidsetMuted(boolean muted) voidsetVolumeLevel(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
-