|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object chrriis.dj.nativeswing.swtimpl.components.win32.WMPSettings
public class WMPSettings
A Media Player object responsible for settings-related actions.
Method Summary | |
---|---|
int |
getPlayCount()
Get the playCount, as a value strictly greater than 0. |
float |
getPlaySpeedFactor()
Get the speed factor that is applied when a media is played, as a value strictly greater than 0. |
int |
getStereoBalance()
Get the stereo balance. |
int |
getVolume()
Get the volume, as a value between 0 and 100. |
boolean |
isAutoStart()
Indicate whether loading some media should start playing automatically. |
boolean |
isMute()
Indicate whether audio is mute. |
void |
setAutoStart(boolean isAutoStart)
Set whether loaded media should automatically start. |
void |
setMute(boolean isMute)
Set whether audio is mute. |
void |
setPlayCount(int playCount)
Set the play count. |
void |
setPlaySpeedFactor(float speedFactor)
Set the speed factor that is applied when a media is played. |
void |
setStereoBalance(int stereoBalance)
|
void |
setVolume(int volume)
Set the volume. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setVolume(int volume)
volume
- the new volume, with a value between 0 and 100.public int getVolume()
public void setPlayCount(int playCount)
playCount
- the new playCount, with a value stricly greater than 0.public int getPlayCount()
public void setPlaySpeedFactor(float speedFactor)
speedFactor
- the speed factor, with a value strictly greater than 0.public float getPlaySpeedFactor()
public void setStereoBalance(int stereoBalance)
stereoBalance
- The stereo balance between -100 and 100, with 0 being the default.public int getStereoBalance()
public void setAutoStart(boolean isAutoStart)
isAutoStart
- true if the media should start playing automatically when loaded, false otherwise.public boolean isAutoStart()
public void setMute(boolean isMute)
isMute
- true if audio should be mute, false otherwise.public boolean isMute()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |