net.xoetrope.swing
Class XLogoBackground

java.lang.Object
  extended by net.xoetrope.swing.XGradientBackground
      extended by net.xoetrope.swing.XLogoBackground
All Implemented Interfaces:
XTitlePainter, Painter

public class XLogoBackground
extends XGradientBackground

Paints a background with a watermark like logo

Copyright (c) Xoetrope Ltd., 2002-2004

License: see license.txt

$Revision: 1.11 $


Field Summary
 
Fields inherited from class net.xoetrope.swing.XGradientBackground
blend, currentProject, title, titleColor, titleFont, titleHeight, titlePos, titleTextColor
 
Fields inherited from interface net.xoetrope.swing.painter.XTitlePainter
BOTTOM, LEFT, RIGHT, TOP
 
Constructor Summary
XLogoBackground()
           
 
Method Summary
protected  void paintExtras(java.awt.Graphics2D g2d, java.lang.Object obj, int x, int y, int w, int h)
          Paint any extra elements using the current transormation
 
Methods inherited from class net.xoetrope.swing.XGradientBackground
getBackgroundPaint, paint, paintBackground, paintExtras, setBlend, setTitle, setTitleColor, setTitleFont, setTitlePosition, setTitleTextColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XLogoBackground

public XLogoBackground()
Method Detail

paintExtras

protected void paintExtras(java.awt.Graphics2D g2d,
                           java.lang.Object obj,
                           int x,
                           int y,
                           int w,
                           int h)
Paint any extra elements using the current transormation

Parameters:
g2d - the graphics context
obj - The object/component being painted
x - the left coordinate
y - the top coordinate
w - the width coordinate
h - the height coordinate