|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object util.ui.PictureAreaIcon
public class PictureAreaIcon
A class for painting a picture with copyright and description info.
Constructor Summary | |
---|---|
PictureAreaIcon()
Constructor for programs with no picture or if pictures for a program should not be shown. |
|
PictureAreaIcon(Program p,
java.awt.Font f,
int width,
boolean showDescription,
boolean grayFilter,
boolean zoom)
Constructor for programs with picture. |
|
PictureAreaIcon(Program p,
java.awt.Font f,
int width,
boolean showDescription,
boolean grayFilter,
boolean zoom,
boolean showPictureBorder)
Constructor for programs with picture. |
Method Summary | |
---|---|
int |
getIconHeight()
|
int |
getIconWidth()
|
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PictureAreaIcon()
public PictureAreaIcon(Program p, java.awt.Font f, int width, boolean showDescription, boolean grayFilter, boolean zoom)
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 picture should be zoomed to width.public PictureAreaIcon(Program p, java.awt.Font f, int width, boolean showDescription, boolean grayFilter, boolean zoom, boolean showPictureBorder)
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 picture should be zoomed to width.showPictureBorder
- Method Detail |
---|
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |