FileDocCategorySizeDatePackage
MotifRadioButtonUI.javaAPI DocJava SE 5 API2183Fri Aug 26 14:54:46 BST 2005com.sun.java.swing.plaf.motif

MotifRadioButtonUI

public class MotifRadioButtonUI extends BasicRadioButtonUI
RadioButtonUI implementation for MotifRadioButtonUI

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. A future release of Swing will provide support for long term persistence.

version
1.22 12/19/03
author
Rich Schiavi

Fields Summary
private static final MotifRadioButtonUI
motifRadioButtonUI
protected Color
focusColor
private boolean
defaults_initialized
Constructors Summary
Methods Summary
public static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)

    
    // ********************************
    //         Create PLAF
    // ********************************
         
	return motifRadioButtonUI;
    
protected java.awt.ColorgetFocusColor()

	return focusColor;
    
public voidinstallDefaults(javax.swing.AbstractButton b)

	super.installDefaults(b);
	if(!defaults_initialized) {
	    focusColor = UIManager.getColor(getPropertyPrefix() + "focus");
	    defaults_initialized = true;
	}
    
protected voidpaintFocus(java.awt.Graphics g, java.awt.Rectangle t, java.awt.Dimension d)

	g.setColor(getFocusColor());
	g.drawRect(0,0,d.width-1,d.height-1);
    
protected voiduninstallDefaults(javax.swing.AbstractButton b)

	super.uninstallDefaults(b);
	defaults_initialized = false;