| Constructor and Description |
|---|
RenderedImageIcon(RenderedImage image)
Constructs a new
RenderedImageIcon for the given RenderedImage. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public RenderedImageIcon(RenderedImage image)
RenderedImageIcon for the given RenderedImage.image - the image to be wrappedpublic RenderedImage getImage()
RenderedImage.public int getIconWidth()
getIconWidth in interface Iconpublic int getIconHeight()
getIconHeight in interface IconCopyright © 2014–2019 European Space Agency (ESA). All rights reserved.