| java.lang.Object com.sun.mmedia.VideoRenderer com.sun.mmedia.AWTVideoRenderer
Inner Class :class VideoCanvas extends Component | |
Constructor Summary | |
public | AWTVideoRenderer(BasicPlayer player, int sourceWidth, int sourceHeight) |
AWTVideoRenderer | public AWTVideoRenderer(BasicPlayer player, int sourceWidth, int sourceHeight)(Code) | | Constructor for the VideoRenderer object
|
close | public void close()(Code) | | Description of the Method
|
getDisplayHeight | public int getDisplayHeight()(Code) | | Gets the displayHeight attribute of the VideoRenderer object
The displayHeight value |
getDisplayWidth | public int getDisplayWidth()(Code) | | Gets the displayWidth attribute of the VideoRenderer object
The displayWidth value |
getDisplayX | public int getDisplayX()(Code) | | Gets the displayX attribute of the VideoRenderer object
The displayX value |
getDisplayY | public int getDisplayY()(Code) | | Gets the displayY attribute of the VideoRenderer object
The displayY value |
getSnapshot | public byte[] getSnapshot(String imageType) throws MediaException(Code) | | Gets the snapshot attribute of the VideoRenderer object
Parameters: imageType - Description of the Parameter The snapshot value exception: MediaException - Description of the Exception |
getSourceHeight | public int getSourceHeight()(Code) | | Gets the sourceHeight attribute of the VideoRenderer object
The sourceHeight value |
getSourceWidth | public int getSourceWidth()(Code) | | Gets the sourceWidth attribute of the VideoRenderer object
The sourceWidth value |
initDisplayMode | public Object initDisplayMode(int mode, Object container)(Code) | | Initializes the display mode.
Currently only USE_GUI_PRIMITIVE is supported!
Parameters: mode - the display mode Parameters: container - the container (an AWT component) returns the AWT component |
initRendering | public void initRendering(int mode, int sourceWidth, int sourceHeight)(Code) | | Description of the Method
Parameters: mode - Description of the Parameter Parameters: sourceWidth - Description of the Parameter Parameters: sourceHeight - Description of the Parameter |
render | public void render(int[] rgbData)(Code) | | Description of the Method
Parameters: rgbData - Description of the Parameter |
setDisplayLocation | public void setDisplayLocation(int x, int y)(Code) | | Sets the displayLocation attribute of the VideoRenderer object
Parameters: x - The new displayLocation value Parameters: y - The new displayLocation value |
setVisible | public void setVisible(boolean visible)(Code) | | Sets the visible attribute of the VideoRenderer object
Parameters: visible - The new visible value |
|
|