public class BaseRadioButtonUI extends BasicRadioButtonUI
| Modifier and Type | Field and Description |
|---|---|
protected static Rectangle |
iconRect |
protected static Dimension |
size |
protected static Rectangle |
textRect |
protected static Rectangle |
viewRect |
icondefaultTextIconGap, defaultTextShiftOffset| Constructor and Description |
|---|
BaseRadioButtonUI() |
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent c) |
void |
installDefaults(AbstractButton b) |
void |
paint(Graphics g,
JComponent c) |
protected void |
paintBackground(Graphics g,
JComponent c) |
protected void |
paintFocus(Graphics g,
Rectangle t,
Dimension d) |
protected void |
paintIcon(Graphics g,
JComponent c,
Rectangle iconRect) |
protected void |
paintText(Graphics g,
JComponent c,
String text,
Rectangle textRect) |
getDefaultIcon, getPreferredSize, getPropertyPrefix, uninstallDefaultsgetTextShiftOffset, paintIconclearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, updateprotected static Dimension size
protected static Rectangle viewRect
protected static Rectangle iconRect
protected static Rectangle textRect
public static ComponentUI createUI(JComponent c)
public void installDefaults(AbstractButton b)
installDefaults in class BasicRadioButtonUIpublic void paint(Graphics g, JComponent c)
paint in class BasicRadioButtonUIprotected void paintBackground(Graphics g, JComponent c)
protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect)
paintIcon in class BasicButtonUIprotected void paintText(Graphics g, JComponent c, String text, Rectangle textRect)
protected void paintFocus(Graphics g, Rectangle t, Dimension d)
paintFocus in class BasicRadioButtonUICopyright © 2014. All Rights Reserved.