|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object chrriis.dj.nativeswing.swtimpl.components.VLCVideo
public class VLCVideo
A VLC object responsible for video-related actions.
Nested Class Summary | |
---|---|
static class |
VLCVideo.VLCAspectRatio
An aspect ratio. |
Method Summary | |
---|---|
VLCVideo.VLCAspectRatio |
getAspectRatio()
Get the aspect ratio of the video media. |
int |
getHeight()
Get the height of the video. |
int |
getSubtitleTrack()
Get the track of the subtitles. |
int |
getWidth()
Get the width of the video. |
boolean |
isFullScreen()
Indicate whether the video is in full screen mode. |
void |
setAspectRatio(VLCVideo.VLCAspectRatio aspectRatio)
Set the aspect ration of the video. |
void |
setFullScreen(boolean isFullScreen)
Set whether the video is playing in full screen mode. |
void |
setSubtitleTrack(int subtitleTrack)
Set the track of the subtitles. |
void |
toggleFullScreen()
Toggle full screen mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getWidth()
public int getHeight()
public void setFullScreen(boolean isFullScreen)
isFullScreen
- true if the full screen mode should be active, false otherwise.public boolean isFullScreen()
public void setAspectRatio(VLCVideo.VLCAspectRatio aspectRatio)
aspectRatio
- the aspect ratio.public VLCVideo.VLCAspectRatio getAspectRatio()
public void setSubtitleTrack(int subtitleTrack)
subtitleTrack
- The track of the subtitles, or 0 to disable them.public int getSubtitleTrack()
public void toggleFullScreen()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |