java.lang.Object
javax.swing.plaf.nimbus.AbstractRegionPainter
org.autogui.swing.util.NimbusLookAndFeelCustomFlat.BasePainter
- All Implemented Interfaces:
Painter<JComponent>
- Direct Known Subclasses:
NimbusLookAndFeelCustomFlat.ArrowPainter
,NimbusLookAndFeelCustomFlat.ButtonPainter
,NimbusLookAndFeelCustomFlat.EmptyPainter
,NimbusLookAndFeelCustomFlat.ScrollBarButtonPainter
,NimbusLookAndFeelCustomFlat.ScrollBarThumbPainter
- Enclosing class:
NimbusLookAndFeelCustomFlat
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.plaf.nimbus.AbstractRegionPainter
AbstractRegionPainter.PaintContext
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBasePainter
(int insetsWidth, int insetsHeight, int canvasWidth, int canvasHeight) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawWithFocusStroke
(Graphics2D g, Shape shape) protected AbstractRegionPainter.PaintContext
protected Color[]
protected Paint
gradientVertical
(float y, float h, Color[] colors2) Methods inherited from class javax.swing.plaf.nimbus.AbstractRegionPainter
configureGraphics, decodeAnchorX, decodeAnchorY, decodeColor, decodeColor, decodeGradient, decodeRadialGradient, decodeX, decodeY, doPaint, getComponentColor, getExtendedCacheKeys, paint
-
Field Details
-
context
-
-
Constructor Details
-
BasePainter
public BasePainter(int insetsWidth, int insetsHeight, int canvasWidth, int canvasHeight)
-
-
Method Details
-
getPaintContext
- Specified by:
getPaintContext
in classAbstractRegionPainter
-
gradientColors
-
gradientVertical
-
drawWithFocusStroke
-