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.basic
class BasicRadioButtonUI
- Direct Known Subclasses:
- BasicCheckBoxUI, MetalRadioButtonUI
public class BasicRadioButtonUI
extends BasicToggleButtonUI
RadioButtonUI implementation for BasicRadioButtonUI
Method Summary |
static ComponentUI |
|
Icon |
|
Dimension |
The preferred size of the radio button
|
protected String |
|
protected void |
|
void |
paint the radio button
|
protected void |
|
protected void |
|
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 |
icon
protected Icon icon
-
BasicRadioButtonUI
public BasicRadioButtonUI()
-
createUI
public static ComponentUI createUI(JComponent b)
-
- Parameters:
b
getDefaultIcon
public Icon getDefaultIcon()
-
getPreferredSize
public Dimension getPreferredSize(JComponent c)
-
The preferred size of the radio button
- Overrides:
getPreferredSize
in class BasicButtonUI
- Parameters:
c
getPropertyPrefix
protected String getPropertyPrefix()
-
- Overrides:
getPropertyPrefix
in class BasicToggleButtonUI
installDefaults
protected void installDefaults(AbstractButton b)
-
- Overrides:
installDefaults
in class BasicButtonUI
- Parameters:
b
paint
public synchronized void paint(Graphics g,
JComponent c)
-
paint the radio button
- Overrides:
paint
in class BasicToggleButtonUI
- Parameters:
g
c
paintFocus
protected void paintFocus(Graphics g,
Rectangle textRect,
Dimension size)
-
- Parameters:
g
textRect
size
uninstallDefaults
protected void uninstallDefaults(AbstractButton b)
-
- Overrides:
uninstallDefaults
in class BasicButtonUI
- 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:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.