com.alee.laf.colorchooser
Class LineColorChooserPaint

java.lang.Object
  extended by com.alee.laf.colorchooser.LineColorChooserPaint
All Implemented Interfaces:
java.awt.Paint, java.awt.Transparency

public class LineColorChooserPaint
extends java.lang.Object
implements java.awt.Paint

User: mgarin Date: 07.07.2010 Time: 17:30:17


Field Summary
 
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
 
Constructor Summary
LineColorChooserPaint(int y, int height)
           
 
Method Summary
 java.awt.PaintContext createContext(java.awt.image.ColorModel cm, java.awt.Rectangle deviceBounds, java.awt.geom.Rectangle2D userBounds, java.awt.geom.AffineTransform xform, java.awt.RenderingHints hints)
           
 java.awt.Color getColor(int yCoord)
           
 int getTransparency()
           
 boolean isWebSafe()
           
 void setWebSafe(boolean webSafe)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineColorChooserPaint

public LineColorChooserPaint(int y,
                             int height)
Method Detail

createContext

public java.awt.PaintContext createContext(java.awt.image.ColorModel cm,
                                           java.awt.Rectangle deviceBounds,
                                           java.awt.geom.Rectangle2D userBounds,
                                           java.awt.geom.AffineTransform xform,
                                           java.awt.RenderingHints hints)
Specified by:
createContext in interface java.awt.Paint

getColor

public java.awt.Color getColor(int yCoord)

getTransparency

public int getTransparency()
Specified by:
getTransparency in interface java.awt.Transparency

isWebSafe

public boolean isWebSafe()

setWebSafe

public void setWebSafe(boolean webSafe)