Module org.autogui
Package org.autogui.swing.util
Class NimbusLookAndFeelCustomFlat.ProgressBarPainter
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.ProgressBarPainter
- All Implemented Interfaces:
Painter<JComponent>
- Enclosing class:
NimbusLookAndFeelCustomFlat
public static class NimbusLookAndFeelCustomFlat.ProgressBarPainter
extends NimbusLookAndFeelCustomFlat.ButtonPainter
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.nimbus.AbstractRegionPainter
AbstractRegionPainter.PaintContext -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Color[]protected booleanprotected booleanprotected booleanFields inherited from class org.autogui.swing.util.NimbusLookAndFeelCustomFlat.ButtonPainter
colorDraw, colorFill, disabled, focused, initialized, pressed, selectedFields inherited from class org.autogui.swing.util.NimbusLookAndFeelCustomFlat.BasePainter
context -
Constructor Summary
ConstructorsConstructorDescriptionProgressBarPainter(boolean disabled, boolean foreground, boolean finished, boolean indeterminate) -
Method Summary
Modifier and TypeMethodDescriptionprotected floatbrightnessOffset(boolean fillOrDraw) protected 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.ButtonPainter
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
-
foreground
protected boolean foreground -
finished
protected boolean finished -
indeterminate
protected boolean indeterminate -
colorsIndeterminate
-
-
Constructor Details
-
ProgressBarPainter
public ProgressBarPainter(boolean disabled, boolean foreground, boolean finished, boolean indeterminate)
-
-
Method Details
-
doInit
protected void doInit()- Overrides:
doInitin classNimbusLookAndFeelCustomFlat.ButtonPainter
-
colorName
- Overrides:
colorNamein classNimbusLookAndFeelCustomFlat.ButtonPainter
-
brightnessOffset
protected float brightnessOffset(boolean fillOrDraw) - Overrides:
brightnessOffsetin classNimbusLookAndFeelCustomFlat.ButtonPainter
-
doPaint
protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) - Overrides:
doPaintin classNimbusLookAndFeelCustomFlat.ButtonPainter
-