public class MetalCheckBoxUI extends MetalRadioButtonUI
JCheckBox
component.disabledTextColor, focusColor, selectColor
icon
defaultTextIconGap, 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, uninstallDefaults
getDefaultIcon, getPreferredSize
paintIcon
clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, getMaximumSize, getMinimumSize, getTextShiftOffset, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, uninstallUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
public 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."
).