|
|||||||||
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.WMPControls
public class WMPControls
A Media Player object responsible for controls-related actions.
Method Summary | |
---|---|
int |
getAbsolutePosition()
Get the current position on the timeline. |
boolean |
isPauseEnabled()
Indicate if the pause functionality is enabled. |
boolean |
isPlayEnabled()
Indicate if the play functionality is enabled. |
boolean |
isStopEnabled()
Indicate if the stop functionality is enabled. |
void |
pause()
Pause the currently playing media. |
void |
play()
Start playing the loaded media. |
void |
setAbsolutePosition(int time)
Set the current position on the timeline. |
void |
stop()
Stop the currently playing media. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isPlayEnabled()
public void play()
public boolean isStopEnabled()
public void stop()
public boolean isPauseEnabled()
public void pause()
public void setAbsolutePosition(int time)
time
- The current position in milliseconds.public int getAbsolutePosition()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |