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 JavaBeans
has been added to the java.beans package.
Please see java..
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| protected Color | disabledTextColor
The color of a disabled text. |
| protected Color | focusColor
The color of the focused radio button. |
| protected Color | selectColor
The color of the selected radio button. |
| private static final ComponentUI |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ComponentUI | Returns: an instance ofMetalRadioButtonUIa component c)Hides javax. Returns an instance of |
| protected Color | Returns: the color of the disabled textReturns the color of the disabled text. |
| protected Color | Returns: the color of the focusedJRadioButtonReturns the color of the focused |
| protected Color | Returns: the color of the selectedJRadioButtonReturns the color of the selected |
| public void | installDefaults(AbstractButton b)
Overrides javax. Installs default properties. |
| public synchronized void | paint(Graphics g, JComponent c)
Overrides javax. paint the radio button |
| protected void | paintFocus(Graphics g, Rectangle t, Dimension d)
Overrides javax. Paints focused radio button. |
| protected void | uninstallDefaults(AbstractButton b)
Overrides javax. Uninstalls default properties. |
| defaults_initialized | back to summary |
|---|---|
| private boolean defaults_initialized Hides javax. | |
| disabledTextColor | back to summary |
|---|---|
| protected Color disabledTextColor The color of a disabled text. | |
| focusColor | back to summary |
|---|---|
| protected Color focusColor The color of the focused radio button. | |
| selectColor | back to summary |
|---|---|
| protected Color selectColor The color of the selected radio button. | |
| UI | back to summary |
|---|---|
| private static final ComponentUI UI | |
| MetalRadioButtonUI | back to summary |
|---|---|
| public MetalRadioButtonUI() Constructs a | |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent c) Hides javax. Returns an instance of
| |
| getDisabledTextColor | back to summary |
|---|---|
| protected Color getDisabledTextColor() Returns the color of the disabled text.
| |
| getFocusColor | back to summary |
|---|---|
| protected Color getFocusColor() Returns the color of the focused
| |
| getSelectColor | back to summary |
|---|---|
| protected Color getSelectColor() Returns the color of the selected
| |
| installDefaults | back to summary |
|---|---|
| public void installDefaults(AbstractButton b) Overrides javax. Doc from javax. Installs default properties. | |
| paint | back to summary |
|---|---|
| public synchronized void paint(Graphics g, JComponent c) Overrides javax. Doc from javax. paint the radio button | |
| paintFocus | back to summary |
|---|---|
| protected void paintFocus(Graphics g, Rectangle t, Dimension d) Overrides javax. Doc from javax. Paints focused radio button. | |
| uninstallDefaults | back to summary |
|---|---|
| protected void uninstallDefaults(AbstractButton b) Overrides javax. Doc from javax. Uninstalls default properties. | |