- 既知のすべてのサブインタフェース:
SynthIcon
- 既知のすべての実装クラス:
IconUIResource,ImageIcon,MetalCheckBoxIcon,MetalComboBoxIcon,MetalIconFactory.FileIcon16,MetalIconFactory.FolderIcon16,MetalIconFactory.PaletteCloseIcon,MetalIconFactory.TreeControlIcon,MetalIconFactory.TreeFolderIcon,MetalIconFactory.TreeLeafIcon
public interface Icon
通常はコンポーネントを装飾するために使う、固定サイズの小型イメージです。
- 導入されたバージョン:
- 1.2
- 関連項目:
-
メソッドのサマリー
修飾子と型メソッド説明intアイコンの高さを返します。intアイコンの幅を返します。void指定された位置にアイコンを描画します。
-
メソッドの詳細
-
paintIcon
-
getIconWidth
int getIconWidth()アイコンの幅を返します。- 戻り値:
- アイコンの固定の幅を指定するint値
-
getIconHeight
int getIconHeight()アイコンの高さを返します。- 戻り値:
- アイコンの固定の高さを指定するint値
-