com.charliemouse.cambozola.watermark
Class Watermark
public
class
Watermark
extends Object
com/charliemouse/cambozola/Watermark.java
Copyright (C) Andy Wilcock, 2001.
Available from http://www.charliemouse.com
Cambozola is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Cambozola is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Cambozola; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Constructor Summary |
| Watermark(Image img, int horiz, int vert, int indentx, int indenty) |
| Watermark(Image img, int horiz, int vert, int indentx, int indenty, String url) |
| Watermark(Image img, int horiz, int vert, int indentx, int indenty, String url, boolean visible) |
public static final int H_CENTER
public static final int H_LEFT
public static final int H_RIGHT
public static final boolean INVISIBLE
public static final boolean VISIBLE
public static final int V_BOTTOM
public static final int V_MIDDLE
public static final int V_TOP
public Watermark(Image img, int horiz, int vert, int indentx, int indenty)
public Watermark(Image img, int horiz, int vert, int indentx, int indenty, String url)
public Watermark(Image img, int horiz, int vert, int indentx, int indenty, String url, boolean visible)
public URL getURL()
public boolean hitsPoint(Point p)
public boolean isClickable()
public boolean isVisible()
public void paint(Graphics g)
public void recalculateLocation(Dimension d)