Package ca.cgjennings.ui.theme
Class SolidPainter
- java.lang.Object
-
- ca.cgjennings.ui.theme.SolidPainter
-
- All Implemented Interfaces:
javax.swing.Painter<java.lang.Object>
public class SolidPainter extends java.lang.Object implements javax.swing.Painter<java.lang.Object>
A painter that simply paints the entire surface with aColor
or otherPaint
.- Since:
- 3.0
- Author:
- Chris Jennings
-
-
Constructor Summary
Constructors Constructor Description SolidPainter(java.awt.Paint paint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
paint(java.awt.Graphics2D g, java.lang.Object object, int width, int height)
-