This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.swing.plaf.metal
class MetalRadioButtonUI

java.lang.Object extended by javax.swing.plaf.ComponentUI extended by javax.swing.plaf.ButtonUI extended by javax.swing.plaf.basic.BasicButtonUI extended by javax.swing.plaf.basic.BasicToggleButtonUI extended by javax.swing.plaf.basic.BasicRadioButtonUI extended by javax.swing.plaf.metal.MetalRadioButtonUI
Direct Known Subclasses:
MetalCheckBoxUI

public class MetalRadioButtonUI
extends BasicRadioButtonUI

RadioButtonUI implementation for MetalRadioButtonUI

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. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see {@link java.beans.XMLEncoder}.


Field Summary
protected Color disabledTextColor
          
protected Color focusColor
          
protected Color selectColor
          
 
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
icon
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary

          
 
Method Summary
static ComponentUI

          
protected Color

          
protected Color

          
protected Color

          
 void

          
 void

          paint the radio button
protected void

          
protected void

          
 
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
createUI, getDefaultIcon, getPreferredSize, getPropertyPrefix, installDefaults, paint, paintFocus, uninstallDefaults
 
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
createUI, getPropertyPrefix, getTextShiftOffset, paint, paintIcon
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, createUI, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getPreferredSize, getPropertyPrefix, getTextShiftOffset, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

disabledTextColor

protected Color disabledTextColor

focusColor

protected Color focusColor

selectColor

protected Color selectColor
Constructor Detail

MetalRadioButtonUI

public MetalRadioButtonUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Parameters:
c

getDisabledTextColor

protected Color getDisabledTextColor()

getFocusColor

protected Color getFocusColor()

getSelectColor

protected Color getSelectColor()

installDefaults

public void installDefaults(AbstractButton b)
Overrides:
installDefaults in class BasicRadioButtonUI
Parameters:
b

paint

public synchronized void paint(Graphics g,
                               JComponent c)
Overrides:
paint in class BasicRadioButtonUI
Parameters:
g
c

paintFocus

protected void paintFocus(Graphics g,
                          Rectangle t,
                          Dimension d)
Overrides:
paintFocus in class BasicRadioButtonUI
Parameters:
g
t
d

uninstallDefaults

protected void uninstallDefaults(AbstractButton b)
Overrides:
uninstallDefaults in class BasicRadioButtonUI
Parameters:
b


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.