FileDocCategorySizeDatePackage
BasicViewportUI.javaAPI DocJava SE 5 API1228Fri Aug 26 14:58:06 BST 2005javax.swing.plaf.basic

BasicViewportUI

public class BasicViewportUI extends ViewportUI
BasicViewport implementation
version
1.1 05/01/98
author
Rich Schiavi

Fields Summary
private static ViewportUI
viewportUI
Constructors Summary
Methods Summary
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)

	if(viewportUI == null) {
            viewportUI = new BasicViewportUI();
	}
        return viewportUI;
    
protected voidinstallDefaults(javax.swing.JComponent c)

        LookAndFeel.installColorsAndFont(c,
					 "Viewport.background",
					 "Viewport.foreground",
					 "Viewport.font");
        LookAndFeel.installProperty(c, "opaque", Boolean.TRUE);
    
public voidinstallUI(javax.swing.JComponent c)

        super.installUI(c);
        installDefaults(c);
    
protected voiduninstallDefaults(javax.swing.JComponent c)

    
public voiduninstallUI(javax.swing.JComponent c)

        super.uninstallUI(c);