|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.videolan.jvlc.Video
public final class Video
| Constructor Summary | |
|---|---|
Video(long libvlcInstance)
|
|
| Method Summary | |
|---|---|
void |
destroyVideo()
Destroys video output, but the item continues to play. |
boolean |
getFullscreen()
|
int |
getHeight()
|
long |
getInstance()
|
java.awt.Dimension |
getSize()
Get the size of the video output window as a Dimension object. |
void |
getSnapshot(java.lang.String filepath)
Saves a snapshot of the current video window in the file specified in filename. |
int |
getWidth()
|
void |
reparent(java.awt.Component c)
Moves video output from the current Canvas to another. |
void |
setFullscreen(boolean fullscreen)
Sets fullscreen if fullscreen argument is true. |
void |
setSize(java.awt.Dimension d)
Resizes video output to width and height. |
void |
setSize(int width,
int height)
Resizes video output to width and height. |
void |
toggleFullscreen()
Toggles the fullscreen for the playing video. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Video(long libvlcInstance)
| Method Detail |
|---|
public void destroyVideo()
throws VLCException
VideoIntf
destroyVideo in interface VideoIntfVLCException
public boolean getFullscreen()
throws VLCException
getFullscreen in interface VideoIntfVLCException
public void getSnapshot(java.lang.String filepath)
throws VLCException
VideoIntf
getSnapshot in interface VideoIntffilepath - The full path (including filename) were to save the snapshot to.
If you only give a path, not including the filename, the snapshot will be saved in
the specified path using vlc naming conventions.
VLCException
public int getHeight()
throws VLCException
getHeight in interface VideoIntfVLCException
public int getWidth()
throws VLCException
getWidth in interface VideoIntfVLCException
public void reparent(java.awt.Component c)
throws VLCException
VideoIntf
reparent in interface VideoIntfVLCException
public void setSize(int width,
int height)
throws VLCException
VideoIntf
setSize in interface VideoIntfwidth - The new video output widthheight - The new video output height
VLCException
public void setFullscreen(boolean fullscreen)
throws VLCException
VideoIntf
setFullscreen in interface VideoIntfVLCException
public void toggleFullscreen()
throws VLCException
VideoIntf
toggleFullscreen in interface VideoIntfVLCException
public java.awt.Dimension getSize()
throws VLCException
VideoIntf
getSize in interface VideoIntfVLCException
public void setSize(java.awt.Dimension d)
throws VLCException
VideoIntf
setSize in interface VideoIntfd - The new size of video
VLCExceptionpublic long getInstance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||