public class SynthRadioButtonUI extends SynthToggleButtonUI
JRadioButton.
defaultTextIconGap, defaultTextShiftOffsetDEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED| Constructor and Description |
|---|
SynthRadioButtonUI()
|
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent
Creates a new UI object for the given component.
|
protected String |
getPropertyPrefix()
|
protected Icon |
getSizingIcon(AbstractButton
Returns the Icon used in calculating the preferred/minimum/maximum size.
|
void |
paintBorder(SynthContext
Paints the border.
|
getBaseline, getContext, getDefaultIcon, getIcon, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installListeners, paint, paint, propertyChange, uninstallDefaults, uninstallListeners, updateclearTextShiftOffset, createButtonListener, getBaselineResizeBehavior, getDefaultTextIconGap, getTextShiftOffset, installKeyboardActions, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCountpublic static ComponentUIcreateUI(JComponent b)
b - component to create UI object for
protected StringgetPropertyPrefix()
protected IcongetSizingIcon(AbstractButton b)
public void paintBorder(SynthContextcontext, Graphics g, int x, int y, int w, int h)
paintBorder in interface
SynthUI
paintBorder in class
SynthToggleButtonUI
context - a component context
g -
Graphics to paint on
x - the X coordinate
y - the Y coordinate
w - width of the border
h - height of the border