All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.java.swing.PaintRef

java.lang.Object
   |
   +----com.sun.java.swing.PaintRef

public class PaintRef
extends Object
implements ImageObserver
PaintRef that can be used for filling a region. Can be either a color or an image.


Constructor Index

 o PaintRef()
 o PaintRef(Color)
 o PaintRef(Image)

Method Index

 o fill(Graphics, ImageObserver)
 o fillRect(Graphics, int, int, int, int, ImageObserver)
 o fillRect(Graphics, Rectangle, ImageObserver)
 o findNamed(String)
Finds a named color from the defined SystemColors
 o getColor()
 o getTile()
 o imageUpdate(Image, int, int, int, int, int)
 o setColor(Color)
 o setTile(Image)
 o toString()

Constructors

 o PaintRef
 public PaintRef()
 o PaintRef
 public PaintRef(Color c)
 o PaintRef
 public PaintRef(Image i)

Methods

 o toString
 public String toString()
Overrides:
toString in class Object
 o setTile
 public void setTile(Image tile)
 o getTile
 public Image getTile()
 o setColor
 public void setColor(Color c)
 o imageUpdate
 public boolean imageUpdate(Image img,
                            int infoflags,
                            int x,
                            int y,
                            int width,
                            int height)
 o getColor
 public Color getColor()
 o fillRect
 public void fillRect(Graphics g,
                      int X,
                      int Y,
                      int W,
                      int H,
                      ImageObserver o)
 o fillRect
 public void fillRect(Graphics g,
                      Rectangle r,
                      ImageObserver o)
 o fill
 public void fill(Graphics g,
                  ImageObserver o)
 o findNamed
 public static PaintRef findNamed(String s)
Finds a named color from the defined SystemColors


All Packages  Class Hierarchy  This Package  Previous  Next  Index