|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface for renderers that render video to a display or any other such device.
| Field Summary |
| Fields inherited from interface javax.media.PlugIn |
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED |
| Method Summary | |
java.awt.Rectangle |
getBounds()
Returns the region in the component where the video will be rendered to. |
java.awt.Component |
getComponent()
Returns an AWT component that it will render to. |
void |
setBounds(java.awt.Rectangle rect)
Sets the region in the component where the video is to be rendered to. |
boolean |
setComponent(java.awt.Component comp)
Requests the renderer to draw into a specified AWT component. |
| Methods inherited from interface javax.media.Renderer |
getSupportedInputFormats, process, setInputFormat, start, stop |
| Methods inherited from interface javax.media.PlugIn |
close, getName, open, reset |
| Methods inherited from interface javax.media.Controls |
getControl, getControls |
| Method Detail |
public java.awt.Component getComponent()
public boolean setComponent(java.awt.Component comp)
comp - the component to be used for rendering.
public void setBounds(java.awt.Rectangle rect)
rect
is null, then the video occupies the entire component.
rect - the rect that defines the region to be rendered to.public java.awt.Rectangle getBounds()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||