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