FileDocCategorySizeDatePackage
HeavyComponent.javaAPI DocJMF 2.1.1e1019Mon May 12 12:20:48 BST 2003com.sun.media.renderer.video

HeavyComponent

public class HeavyComponent extends Canvas

Fields Summary
BasicVideoRenderer
bvr
Constructors Summary
public HeavyComponent()

    
      
    
Methods Summary
public synchronized voidaddNotify()

	super.addNotify();
	if (bvr != null)
	    bvr.setAvailable(true);
    
public java.awt.DimensiongetMinimumSize()

	return new Dimension(1, 1);
    
public java.awt.DimensiongetPreferredSize()

	if (bvr != null)
	    return bvr.myPreferredSize();
	else
	    return super.getPreferredSize();
    
public synchronized voidpaint(java.awt.Graphics g)

	if (bvr != null) 
	    bvr.repaint();
    
public synchronized voidremoveNotify()

	if (bvr != null)
	    bvr.setAvailable(false);
	super.removeNotify();
    
public voidsetRenderer(com.sun.media.renderer.video.BasicVideoRenderer bvr)

	this.bvr = bvr;
    
public synchronized voidupdate(java.awt.Graphics g)