01: package net.xoetrope.xui;
02:
03: import java.awt.Graphics;
04:
05: /**
06: * An interface for adding decorations to the painting of text
07: * <p>Company: Xoetrope Ltd., 1998-2003</p>
08: * $Revision: 1.1 $
09: */
10: public interface XTextDecorator {
11: /**
12: * Paint a text decoration, called after the initial painting
13: * @param g the graphics context
14: * @param str the text to paint
15: * @param x the horizontal coordinate
16: * @param y the vertical coordinate
17: */
18: public void textPainted(Graphics g, String str, int x, int y);
19: }
|