net.xoetrope.swing
Class XImagePainter

java.lang.Object
  extended by 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 $


Field Summary
protected  XProject currentProject
           
 
Constructor Summary
XImagePainter()
           
 
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
 

Field Detail

currentProject

protected XProject currentProject
Constructor Detail

XImagePainter

public XImagePainter()
Method Detail

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 painted
g - the graphics context
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