net.xoetrope.swing
Class XImagePainter

java.lang.Object
  extended by net.xoetrope.swing.XImagePainter
All Implemented Interfaces:
XPainter

public class XImagePainter
extends java.lang.Object
implements XPainter

Paints a background with a watermark image

Copyright (c) Xoetrope Ltd., 2002-2004

License: see license.txt

$Revision: 1.2 $


Constructor Summary
XImagePainter()
           
 
Method Summary
 void paint(java.awt.Graphics g, java.lang.Object obj, int x, int y, 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
 

Constructor Detail

XImagePainter

public XImagePainter()
Method Detail

paint

public void paint(java.awt.Graphics g,
                  java.lang.Object obj,
                  int x,
                  int y,
                  int w,
                  int h)
Paints a background with a watermark image.

Specified by:
paint in interface XPainter
Parameters:
obj - The object/component being painted
g - the graphics context
x - the left coordinate
y - the top coordinate
w - the width coordinate
h - 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