org.jdesktop.swingx.painter
Class PainterPaint<T>

java.lang.Object
  extended by 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
protected static class PainterPaint.PainterPaintContext<T>
           
 
Field Summary
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
PainterPaint(Painter<T> painter, T object)
           
 
Method Summary
 PaintContext createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
          
 int getTransparency()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PainterPaint

public PainterPaint(Painter<T> painter,
                    T object)
Method Detail

createContext

public PaintContext createContext(ColorModel cm,
                                  Rectangle deviceBounds,
                                  Rectangle2D userBounds,
                                  AffineTransform xform,
                                  RenderingHints hints)

Specified by:
createContext in interface Paint

getTransparency

public int getTransparency()

Specified by:
getTransparency in interface Transparency


Copyright © 2012. All Rights Reserved.