Iconpublic interface Icon A small fixed size picture, typically used to decorate components. |
Methods Summary |
---|
public int | getIconHeight()Returns the icon's height.
| public int | getIconWidth()Returns the icon's width.
| public void | paintIcon(java.awt.Component c, java.awt.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.
|
|