| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface Icon
一个小的固定大小图片,通常用于装饰组件。
ImageIcon| 方法摘要 | |
|---|---|
|  int | getIconHeight()返回图标的高度。 | 
|  int | getIconWidth()返回图标的宽度。 | 
|  void | paintIcon(Component c,
          Graphics g,
          int x,
          int y)在指定位置上绘制图标。 | 
| 方法详细信息 | 
|---|
void paintIcon(Component c,
               Graphics g,
               int x,
               int y)
int getIconWidth()
int getIconHeight()
| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。