org.formaria.swing.painter
Class LogoBackground

java.lang.Object
  extended by org.formaria.swing.painter.GradientBackground
      extended by org.formaria.swing.painter.LogoBackground
All Implemented Interfaces:
TitlePainter

public class LogoBackground
extends GradientBackground

Paints a background with a watermark like logo

Copyright (c) Formaria Ltd., 2008

License: see license.txt

$Revision: 1.11 $


Field Summary
 
Fields inherited from class org.formaria.swing.painter.GradientBackground
blend, currentProject, title, titleColor, titleFont, titleHeight, titlePos, titleTextColor
 
Fields inherited from interface org.formaria.swing.painter.TitlePainter
BOTTOM, LEFT, RIGHT, TOP
 
Constructor Summary
LogoBackground()
           
 
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 org.formaria.swing.painter.GradientBackground
getBackgroundPaint, paint, 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

LogoBackground

public LogoBackground()
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