|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.esa.beam.framework.ui.RenderedImageIcon
public class RenderedImageIcon
An adapter class which supplies a RenderedImage with the Icon interface.
| Constructor Summary | |
|---|---|
RenderedImageIcon(RenderedImage image)
Constructs a new RenderedImageIcon for the given RenderedImage. |
|
| Method Summary | |
|---|---|
int |
getIconHeight()
Returns the icon's height. |
int |
getIconWidth()
Returns the icon's width. |
RenderedImage |
getImage()
Returns the wrapped RenderedImage. |
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Draw the icon at the specified location. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RenderedImageIcon(RenderedImage image)
RenderedImageIcon for the given RenderedImage.
image - the image to be wrapped| Method Detail |
|---|
public RenderedImage getImage()
RenderedImage.
public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface Icon
public void paintIcon(Component c,
Graphics g,
int x,
int y)
paintIcon in interface Icon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||