public class MetalCheckBoxUI extends MetalRadioButtonUI
JCheckBox component.disabledTextColor, focusColor, selectColoricondefaultTextIconGap, defaultTextShiftOffset| Constructor and Description |
|---|
MetalCheckBoxUI()
Constructs a new instance of MetalCheckBoxUI.
|
| Modifier and Type | Method and Description |
|---|---|
static ComponentUI |
createUI(JComponent component)
Returns a shared instance of
MetalCheckBoxUI. |
String |
getPropertyPrefix()
Returns the prefix for properties defined in the
UIDefaults table. |
getDisabledTextColor, getFocusColor, getSelectColor, installDefaults, paint, paintFocus, uninstallDefaultsgetDefaultIcon, getPreferredSizepaintIconclearTextShiftOffset, createButtonListener, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUIcontains, getAccessibleChild, getAccessibleChildrenCount, updatepublic MetalCheckBoxUI()
public static ComponentUI createUI(JComponent component)
MetalCheckBoxUI.component - the component for which we return an UI instanceMetalCheckBoxUI.public String getPropertyPrefix()
UIDefaults table.getPropertyPrefix in class BasicRadioButtonUI"CheckBox.").