util.ui
Class PictureAreaIcon
java.lang.Object
util.ui.PictureAreaIcon
- All Implemented Interfaces:
- Icon
public class PictureAreaIcon
- extends Object
- implements Icon
A class for painting a picture with copyright and description info.
- Since:
- 2.2.2
- Author:
- René Mach
|
Constructor Summary |
PictureAreaIcon()
Constructor for programs with no picture or if pictures for
a program should not be shown. |
PictureAreaIcon(Program p,
Font f,
int width,
boolean showDescription,
boolean grayFilter,
boolean zoom)
Constructor for programs with picture. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PictureAreaIcon
public PictureAreaIcon()
- Constructor for programs with no picture or if pictures for
a program should not be shown.
PictureAreaIcon
public PictureAreaIcon(Program p,
Font f,
int width,
boolean showDescription,
boolean grayFilter,
boolean zoom)
- Constructor for programs with picture.
- Parameters:
p - The program with the picture.f - The font for the description.width - The width of this area.showDescription - If description should be shown.grayFilter - If the image should be filtered to gray if the program is expired.zoom - If the piture should be zoomed to width.
getIconHeight
public int getIconHeight()
- Specified by:
getIconHeight in interface Icon
getIconWidth
public int getIconWidth()
- Specified by:
getIconWidth in interface Icon
paintIcon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
- Specified by:
paintIcon in interface Icon
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)