| 
JavaTM 2 Platform Standard Ed. 5.0  | 
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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 2 Platform Standard Ed. 5.0  | 
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。