Package org.jdesktop.swingx.painter
Class PainterPaint<T>
- java.lang.Object
-
- org.jdesktop.swingx.painter.PainterPaint<T>
-
- All Implemented Interfaces:
Paint
,Transparency
public class PainterPaint<T> extends Object implements Paint
- Author:
- Karl George Schaefer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
PainterPaint.PainterPaintContext<T>
-
Field Summary
-
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
-
-
Constructor Summary
Constructors Constructor Description PainterPaint(Painter<T> painter, T object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaintContext
createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
int
getTransparency()
-
-
-
Method Detail
-
createContext
public PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
- Specified by:
createContext
in interfacePaint
-
getTransparency
public int getTransparency()
- Specified by:
getTransparency
in interfaceTransparency
-
-