ImageIcon
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public void |
| getIconHeight | back to summary |
|---|---|
| public int getIconHeight() Returns the icon's height.
| |
| getIconWidth | back to summary |
|---|---|
| public int getIconWidth() Returns the icon's width.
| |
| paintIcon | back to summary |
|---|---|
| public void paintIcon(Component c, Graphics g, int x, int y) Draw the icon at the specified location. Icon implementations may use the Component argument to get properties useful for painting, e.g. the foreground or background color. | |