javax.swing.Icon |
A small fixed size picture, typically used to decorate components.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the icon's height.
| |||||||||||
Returns the icon's width.
| |||||||||||
Draw the icon at the specified location.
|
Returns the icon's height.
Returns the icon's width.
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.