Class FlatRadioButtonIcon
java.lang.Object
com.formdev.flatlaf.icons.FlatAbstractIcon
com.formdev.flatlaf.icons.FlatCheckBoxIcon
com.formdev.flatlaf.icons.FlatRadioButtonIcon
- All Implemented Interfaces:
Icon, UIResource
- Direct Known Subclasses:
FlatThemePreviewSwitches.ZoomRadioButtonIcon
Icon for
JRadioButton.
Note: If Component.focusWidth is greater than zero, then the outer focus border is painted outside of the icon bounds. Make sure that the radiobutton has margins, which are equal or greater than focusWidth.
-
Field Summary
FieldsFields inherited from class FlatCheckBoxIcon
arc, background, borderColor, borderWidth, checkmarkColor, disabledBackground, disabledBorderColor, disabledCheckmarkColor, disabledIndeterminateBackground, disabledIndeterminateBorderColor, disabledIndeterminateBorderWidth, disabledIndeterminateCheckmarkColor, disabledSelectedBackground, disabledSelectedBorderColor, disabledSelectedBorderWidth, focusColor, focusedBackground, focusedBorderColor, focusedCheckmarkColor, focusedIndeterminateBackground, focusedIndeterminateBorderColor, focusedIndeterminateCheckmarkColor, focusedSelectedBackground, focusedSelectedBorderColor, focusWidth, hoverBackground, hoverBorderColor, hoverCheckmarkColor, hoverIndeterminateBackground, hoverIndeterminateBorderColor, hoverIndeterminateCheckmarkColor, hoverSelectedBackground, hoverSelectedBorderColor, ICON_SIZE, indeterminateBackground, indeterminateBorderColor, indeterminateBorderWidth, indeterminateCheckmarkColor, pressedBackground, pressedBorderColor, pressedCheckmarkColor, pressedIndeterminateBackground, pressedIndeterminateBorderColor, pressedIndeterminateCheckmarkColor, pressedSelectedBackground, pressedSelectedBorderColor, selectedBackground, selectedBorderColor, selectedBorderWidth, styleFields inherited from class FlatAbstractIcon
color, height, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected voidpaintBackground(Component c, Graphics2D g, float borderWidth) protected voidpaintBorder(Component c, Graphics2D g, float borderWidth) protected voidprotected voidMethods inherited from class FlatCheckBoxIcon
applyStyleProperty, getBackground, getBorderColor, getCheckmarkColor, getFocusColor, getFocusWidth, getStyleableInfos, getStyleableValue, getUIColor, getUIFloat, isIndeterminate, isSelected, paintIcon, paintIndeterminateMethods inherited from class FlatAbstractIcon
getIconHeight, getIconWidth, paintBackground, paintIcon
-
Field Details
-
centerDiameter
protected float centerDiameter
-
-
Constructor Details
-
FlatRadioButtonIcon
public FlatRadioButtonIcon()
-
-
Method Details
-
getPropertyPrefix
- Overrides:
getPropertyPrefixin classFlatCheckBoxIcon
-
paintFocusBorder
- Overrides:
paintFocusBorderin classFlatCheckBoxIcon
-
paintBorder
- Overrides:
paintBorderin classFlatCheckBoxIcon
-
paintBackground
- Overrides:
paintBackgroundin classFlatCheckBoxIcon
-
paintCheckmark
- Overrides:
paintCheckmarkin classFlatCheckBoxIcon
-