Package com.formdev.flatlaf.ui
Class FlatCheckBoxUI
-
- All Implemented Interfaces:
FlatStylingSupport.StyleableUI
public class FlatCheckBoxUI extends FlatRadioButtonUI
Provides the Flat LaF UI delegate forJCheckBox
.- UiDefault:
- CheckBox.font Font, CheckBox.background Color, CheckBox.foreground Color, CheckBox.border Border, CheckBox.margin Insets, CheckBox.rollover boolean, CheckBox.icon Icon , CheckBox.iconTextGap int, CheckBox.disabledText Color
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.formdev.flatlaf.ui.FlatRadioButtonUI
FlatRadioButtonUI.FlatRadioButtonListener
-
-
Field Summary
-
Fields inherited from class com.formdev.flatlaf.ui.FlatRadioButtonUI
disabledText, iconTextGap
-
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
icon
-
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FlatCheckBoxUI(boolean shared)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ComponentUI
createUI(JComponent c)
String
getPropertyPrefix()
-
Methods inherited from class com.formdev.flatlaf.ui.FlatRadioButtonUI
applyStyle, applyStyleProperty, createButtonListener, getPreferredSize, getStyleableInfos, getStyleableValue, installDefaults, installStyle, installUI, paint, paintText, propertyChange, uninstallDefaults, uninstallUI
-
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, paintFocus
-
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIcon
-
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, installListeners, paintButtonPressed, paintFocus, paintIcon, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners
-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
-
-
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
getPropertyPrefix
public String getPropertyPrefix()
- Overrides:
getPropertyPrefix
in classBasicRadioButtonUI
-
-