|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object chrriis.dj.nativeswing.swtimpl.components.VLCInput
public class VLCInput
A VLC object responsible for input-related actions.
Nested Class Summary | |
---|---|
static class |
VLCInput.VLCMediaState
The state of a media. |
Method Summary | |
---|---|
int |
getAbsolutePosition()
Get the current position on the timeline. |
int |
getDuration()
Get the duration in milliseconds of the current media. |
float |
getFrameRate()
Get the number of frames per second. |
VLCInput.VLCMediaState |
getMediaState()
Get the state. |
float |
getPlaySpeedFactor()
Get the speed factor that is applied when a media is played. |
float |
getRelativePosition()
Get the current relative position on the timeline as a float between 0 and 1. |
boolean |
isVideoDisplayed()
Indicate if a video is currently displayed. |
void |
setAbsolutePosition(int time)
Set the current position on the timeline. |
void |
setPlaySpeedFactor(float speedFactor)
Set the speed factor that is applied when a media is played. |
void |
setRelativePosition(float position)
Set the current relative position on the timeline. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getDuration()
public float getFrameRate()
public boolean isVideoDisplayed()
public void setRelativePosition(float position)
position
- A value between 0 and 1.public float getRelativePosition()
public void setAbsolutePosition(int time)
time
- The current position in milliseconds.public int getAbsolutePosition()
public VLCInput.VLCMediaState getMediaState()
public void setPlaySpeedFactor(float speedFactor)
speedFactor
- the speed factor.public float getPlaySpeedFactor()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |