Module org.autogui
Package org.autogui.swing.util
Class NimbusLookAndFeelCustomFlat.CheckBoxMenuItemPainter
java.lang.Object
javax.swing.plaf.nimbus.AbstractRegionPainter
org.autogui.swing.util.NimbusLookAndFeelCustomFlat.BasePainter
org.autogui.swing.util.NimbusLookAndFeelCustomFlat.ButtonPainter
org.autogui.swing.util.NimbusLookAndFeelCustomFlat.CheckBoxPainter
org.autogui.swing.util.NimbusLookAndFeelCustomFlat.CheckBoxMenuItemPainter
- All Implemented Interfaces:
Painter<JComponent>
- Enclosing class:
NimbusLookAndFeelCustomFlat
public static class NimbusLookAndFeelCustomFlat.CheckBoxMenuItemPainter
extends NimbusLookAndFeelCustomFlat.CheckBoxPainter
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.nimbus.AbstractRegionPainter
AbstractRegionPainter.PaintContext -
Field Summary
FieldsFields inherited from class org.autogui.swing.util.NimbusLookAndFeelCustomFlat.CheckBoxPainter
colorCheck, selectedFields inherited from class org.autogui.swing.util.NimbusLookAndFeelCustomFlat.ButtonPainter
colorDraw, colorFill, disabled, focused, initialized, pressedFields inherited from class org.autogui.swing.util.NimbusLookAndFeelCustomFlat.BasePainter
context -
Constructor Summary
ConstructorsConstructorDescriptionCheckBoxMenuItemPainter(boolean disabled, boolean selected, boolean onSelection) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcolorName(boolean fillOrDraw) protected voiddoInit()protected voiddoPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) Methods inherited from class org.autogui.swing.util.NimbusLookAndFeelCustomFlat.CheckBoxPainter
doPaintCheckMarkMethods inherited from class org.autogui.swing.util.NimbusLookAndFeelCustomFlat.ButtonPainter
brightnessOffset, draw, initMethods inherited from class org.autogui.swing.util.NimbusLookAndFeelCustomFlat.BasePainter
drawWithFocusStroke, getPaintContext, gradientColors, gradientVerticalMethods inherited from class javax.swing.plaf.nimbus.AbstractRegionPainter
configureGraphics, decodeAnchorX, decodeAnchorY, decodeColor, decodeColor, decodeGradient, decodeRadialGradient, decodeX, decodeY, getComponentColor, getExtendedCacheKeys, paint
-
Field Details
-
onSelection
protected boolean onSelection
-
-
Constructor Details
-
CheckBoxMenuItemPainter
public CheckBoxMenuItemPainter(boolean disabled, boolean selected, boolean onSelection)
-
-
Method Details
-
doInit
protected void doInit()- Overrides:
doInitin classNimbusLookAndFeelCustomFlat.CheckBoxPainter
-
colorName
- Overrides:
colorNamein classNimbusLookAndFeelCustomFlat.CheckBoxPainter
-
doPaint
protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) - Overrides:
doPaintin classNimbusLookAndFeelCustomFlat.CheckBoxPainter
-