FileDocCategorySizeDatePackage
VideoRenderer.javaAPI DocJMF 2.1.1e1554Mon May 12 12:20:42 BST 2003javax.media.renderer

VideoRenderer

public interface VideoRenderer implements javax.media.Renderer
An interface for renderers that render video to a display or any other such device.
since
JMF 2.0

Fields Summary
Constructors Summary
Methods Summary
public java.awt.RectanglegetBounds()
Returns the region in the component where the video will be rendered to. Returns null if the entire component is being used.

return
the region where the video will be rendered.

public java.awt.ComponentgetComponent()
Returns an AWT component that it will render to. Returns null if it is not rendering to an AWT component.

return
the component that will used for rendering.

public voidsetBounds(java.awt.Rectangle rect)
Sets the region in the component where the video is to be rendered to. Video is to be scaled if necessary. If rect is null, then the video occupies the entire component.

param
rect the rect that defines the region to be rendered to.

public booleansetComponent(java.awt.Component comp)
Requests the renderer to draw into a specified AWT component.

param
comp the component to be used for rendering.
return
false if the renderer cannot draw into the specified component.