API Overview
API Index
Package Overview
Direct link to this page
JDK 1.6
javax.swing.
Icon
View Source
Author(s)
Since
Version
Serial
Hierarchy
Icon
Subinterfaces
See DIRECT subinterfaces
Quick Links:
Methods
Fields
Description
public
interface Icon
A small fixed size picture, typically used to decorate components.
A small fixed size picture, typically used to decorate components.
See also:
ImageIcon
Methods
Hide/Show inherited methods
public
int
getIconHeight
()
Returns the icon's height.
Returns the icon's height.
Returns:
an int specifying the fixed height of the icon.
public
int
getIconWidth
()
Returns the icon's width.
Returns the icon's width.
Returns:
an int specifying the fixed width of the icon.
public
void
paintIcon
(
Component
c,
Graphics
g,
int
x,
int
y)
Draw the icon at the specified location.
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.
Fields
Hide/Show inherited fields
Generated By:
JavaOnTracks Doclet
0.1.4 ©Thibaut Colar