org.tbee.swing
Class WatermarkPainterStamp
java.lang.Object
org.tbee.swing.WatermarkPainter
org.tbee.swing.WatermarkPainterStamp
- All Implemented Interfaces:
- HierarchyListener, EventListener
public class WatermarkPainterStamp
- extends WatermarkPainter
An extension of WatermarkPainter that
paints a translucent image in the bottom right
corner of the component.
- Version:
- $Revision: 1.3 $
|
Method Summary |
void |
paint(Graphics g)
Paint onto the graphics object indicated by the
parameter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WatermarkPainterStamp
public WatermarkPainterStamp(Image image)
paint
public void paint(Graphics g)
- Description copied from class:
WatermarkPainter
- Paint onto the graphics object indicated by the
parameter. This method can query the component
returned by
getComponent for size
information. The component returned is
guaranteed to be non-null as setComponent
will always be called with a non-null component
before any painting is done.
- Specified by:
paint in class WatermarkPainter
- Parameters:
g - the graphics object on which to paint
Copyright © 2012 KnowledgePlaza. All Rights Reserved.