|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VideoControl
| Field Summary | |
|---|---|
static int |
USE_DIRECT_VIDEO
This defines a mode on how the video is displayed. |
| Fields inherited from interface javax.microedition.media.control.GUIControl |
|---|
USE_GUI_PRIMITIVE |
| Method Summary | |
|---|---|
int |
getDisplayHeight()
Return the actual height of the current render video. |
int |
getDisplayWidth()
Return the actual width of the current render video. |
int |
getDisplayX()
Return the X-coordinate of the video with respect to the GUI object where the video is displayed. |
int |
getDisplayY()
Return the Y-coordinate of the video with respective to the GUI object where the video is displayed. |
byte[] |
getSnapshot(String imageType)
Get a snapshot of the displayed content. |
int |
getSourceHeight()
Return the height of the source video. |
int |
getSourceWidth()
Return the width of the source video. |
Object |
initDisplayMode(int mode,
Object arg)
Initialize the mode on how the video is displayed. |
void |
setDisplayFullScreen(boolean fullScreenMode)
Set the size of the render region for the video clip to be fullscreen. |
void |
setDisplayLocation(int x,
int y)
Set the location of the video with respect to the canvas where the video is displayed. |
void |
setDisplaySize(int width,
int height)
Resize the video image. |
void |
setVisible(boolean visible)
Show or hide the video. |
| Field Detail |
|---|
static final int USE_DIRECT_VIDEO
| Method Detail |
|---|
int getDisplayHeight()
int getDisplayWidth()
int getDisplayX()
int getDisplayY()
byte[] getSnapshot(String imageType)
throws MediaException
MediaExceptionint getSourceHeight()
int getSourceWidth()
Object initDisplayMode(int mode,
Object arg)
initDisplayMode in interface GUIControl
void setDisplayFullScreen(boolean fullScreenMode)
throws MediaException
MediaException
void setDisplayLocation(int x,
int y)
void setDisplaySize(int width,
int height)
throws MediaException
MediaExceptionvoid setVisible(boolean visible)
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||