net.xoetrope.swing
Class XImagePainter
java.lang.Object
net.xoetrope.swing.XImagePainter
- All Implemented Interfaces:
- Painter
public class XImagePainter
- extends java.lang.Object
- implements Painter
Paints a background with a watermark image
Copyright (c) Xoetrope Ltd., 2002-2004
License: see license.txt
$Revision: 1.2 $
|
Method Summary |
void |
paint(java.awt.Graphics2D g,
javax.swing.JComponent obj,
int w,
int h)
Paints a background with a watermark image. |
void |
setBlend(boolean b)
Does nothing |
void |
setImage(java.lang.String imageName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentProject
protected XProject currentProject
XImagePainter
public XImagePainter()
paint
public void paint(java.awt.Graphics2D g,
javax.swing.JComponent obj,
int w,
int h)
- Paints a background with a watermark image.
- Specified by:
paint in interface Painter
- Parameters:
obj - The object/component being paintedg - the graphics contextw - the width coordinateh - the height coordinate
Copyright: Copyright (c) Xoetrope Ltd., 1998-2003
License: see license.txt
$Revision: 1.2 $
setImage
public void setImage(java.lang.String imageName)
setBlend
public void setBlend(boolean b)
- Does nothing