java.lang.Object
javax.swing.plaf.metal.MetalIconFactory
- すべての実装されたインタフェース:
- Serializable
public class MetalIconFactory extends Object implements Serializable
Javaルック・アンド・フィール(Metal)の
Iconを提供するファクトリ・オブジェクト。 Metalでは、デフォルトのメカニズムにより、これらのアイコンが幅広く使用されます。 ほかのLook & Feelでは、アイコンにGIFを使用しますが、ファクトリ・オブジェクトではコード内でアイコンが作成されるため、ほかのテーマへの切替えが容易になります。 
 
 このクラスの各メソッドは、Iconまたはnullのどちらかを返します。ここで、nullはデフォルトのアイコンがないことを示します。
 
 警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースと互換ではなくなる予定です。 現在の直列化のサポートは、短期間の格納や、同じバージョンのSwingを実行するアプリケーション間のRMIに適しています。 1.4では、すべてのJavaBeansの長期ストレージのサポートがjava.beansパッケージに追加されました。 XMLEncoderを参照してください。 
- 
ネストされたクラスのサマリーネストされたクラス修飾子と型クラス説明static class警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースと互換ではなくなる予定です。static class警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースと互換ではなくなる予定です。static classPaletteクローズのアイコンを定義します。static class警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースと互換ではなくなる予定です。static class警告: このクラスの直列化されたオブジェクトは、今後のSwingリリースと互換ではなくなる予定です。static classクラスはツリーのリーフのアイコンを表します。
- 
フィールドのサマリーフィールド
- 
コンストラクタのサマリーコンストラクタ
- 
メソッドのサマリー修飾子と型メソッド説明static Iconチェックボックス・アイコンを返します。static IconJCheckBoxMenuItemによって使用されるアイコンを返します。static IconFileChooserDetailViewIconのインスタンスを返します。static IconFileChooserHomeFolderIconのインスタンスを返します。static IconFileChooserListViewIconのインスタンスを返します。static IconFileChooserNewFolderIconのインスタンスを返します。static IconFileChooserUpFolderIconのインスタンスを返します。static Icon水平スライダで使用するサム・アイコンを返します。static IcongetInternalFrameAltMaximizeIcon(int size)InternalFrameAltMaximizeIconの新しいインスタンスを構築します。static IcongetInternalFrameCloseIcon(int size)InternalFrameCloseIconの新しいインスタンスを構築します。static IconInternalFrameDefaultMenuIconのインスタンスを返します。static IcongetInternalFrameMaximizeIcon(int size)InternalFrameMaximizeIconの新しいインスタンスを構築します。static IcongetInternalFrameMinimizeIcon(int size)InternalFrameMinimizeIconの新しいインスタンスを構築します。static IconJMenuが使用するアイコンを返します。static IconJMenuItemが使用するアイコンを返します。static IconJCheckBoxMenuItemによって使用されるアイコンを返します。static IconRadioButtonIconのインスタンスを返します。static IconJRadioButtonMenuItemが使用するアイコンを返します。static IconTreeComputerIconのインスタンスを返します。static IcongetTreeControlIcon(boolean isCollapsed)TreeControlIconの新しいインスタンスを構築します。static IconTreeFloppyDriveIconのインスタンスを返します。static IconTreeFolderIconの新しいインスタンスを構築します。static IconTreeHardDriveIconのインスタンスを返します。static IconTreeLeafIconの新しいインスタンスを構築します。static Icon垂直スライダで使用するサム・アイコンを返します。
- 
フィールド詳細
- 
コンストラクタの詳細- 
MetalIconFactorypublic MetalIconFactory()MetalIconFactoryを構築します。
 
- 
- 
メソッドの詳細- 
getFileChooserDetailViewIconpublic static Icon getFileChooserDetailViewIcon()FileChooserDetailViewIconのインスタンスを返します。- 戻り値:
- FileChooserDetailViewIconのインスタンス
 
- 
getFileChooserHomeFolderIconpublic static Icon getFileChooserHomeFolderIcon()FileChooserHomeFolderIconのインスタンスを返します。- 戻り値:
- FileChooserHomeFolderIconのインスタンス
 
- 
getFileChooserListViewIconpublic static Icon getFileChooserListViewIcon()FileChooserListViewIconのインスタンスを返します。- 戻り値:
- FileChooserListViewIconのインスタンス
 
- 
getFileChooserNewFolderIconpublic static Icon getFileChooserNewFolderIcon()FileChooserNewFolderIconのインスタンスを返します。- 戻り値:
- FileChooserNewFolderIconのインスタンス
 
- 
getFileChooserUpFolderIconpublic static Icon getFileChooserUpFolderIcon()FileChooserUpFolderIconのインスタンスを返します。- 戻り値:
- FileChooserUpFolderIconのインスタンス
 
- 
getInternalFrameAltMaximizeIconpublic static Icon getInternalFrameAltMaximizeIcon(int size)InternalFrameAltMaximizeIconの新しいインスタンスを構築します。- パラメータ:
- size- アイコンのサイズ
- 戻り値:
- InternalFrameAltMaximizeIconの新しいインスタンス
 
- 
getInternalFrameCloseIconpublic static Icon getInternalFrameCloseIcon(int size)InternalFrameCloseIconの新しいインスタンスを構築します。- パラメータ:
- size- アイコンのサイズ
- 戻り値:
- InternalFrameCloseIconの新しいインスタンス
 
- 
getInternalFrameDefaultMenuIconpublic static Icon getInternalFrameDefaultMenuIcon()InternalFrameDefaultMenuIconのインスタンスを返します。- 戻り値:
- InternalFrameDefaultMenuIconのインスタンス
 
- 
getInternalFrameMaximizeIconpublic static Icon getInternalFrameMaximizeIcon(int size)InternalFrameMaximizeIconの新しいインスタンスを構築します。- パラメータ:
- size- アイコンのサイズ
- 戻り値:
- InternalFrameMaximizeIconの新しいインスタンス
 
- 
getInternalFrameMinimizeIconpublic static Icon getInternalFrameMinimizeIcon(int size)InternalFrameMinimizeIconの新しいインスタンスを構築します。- パラメータ:
- size- アイコンのサイズ
- 戻り値:
- InternalFrameMinimizeIconの新しいインスタンス
 
- 
getRadioButtonIconpublic static Icon getRadioButtonIcon()RadioButtonIconのインスタンスを返します。- 戻り値:
- RadioButtonIconのインスタンス
 
- 
getCheckBoxIconpublic static Icon getCheckBoxIcon()チェックボックス・アイコンを返します。- 戻り値:
- チェックボックスのアイコン
- 導入されたバージョン:
- 1.3
 
- 
getTreeComputerIconpublic static Icon getTreeComputerIcon()TreeComputerIconのインスタンスを返します。- 戻り値:
- TreeComputerIconのインスタンス
 
- 
getTreeFloppyDriveIconpublic static Icon getTreeFloppyDriveIcon()TreeFloppyDriveIconのインスタンスを返します。- 戻り値:
- TreeFloppyDriveIconのインスタンス
 
- 
getTreeFolderIconpublic static Icon getTreeFolderIcon()TreeFolderIconの新しいインスタンスを構築します。- 戻り値:
- TreeFolderIconの新しいインスタンス
 
- 
getTreeHardDriveIconpublic static Icon getTreeHardDriveIcon()TreeHardDriveIconのインスタンスを返します。- 戻り値:
- TreeHardDriveIconのインスタンス
 
- 
getTreeLeafIconpublic static Icon getTreeLeafIcon()TreeLeafIconの新しいインスタンスを構築します。- 戻り値:
- TreeLeafIconの新しいインスタンス
 
- 
getTreeControlIconpublic static Icon getTreeControlIcon(boolean isCollapsed)TreeControlIconの新しいインスタンスを構築します。- パラメータ:
- isCollapsed-- trueアイコンが折りたたまれている場合
- 戻り値:
- TreeControlIconの新しいインスタンス
 
- 
getMenuArrowIconpublic static Icon getMenuArrowIcon()JMenuが使用するアイコンを返します。- 戻り値:
- JMenuで使用されるアイコン
 
- 
getMenuItemCheckIconpublic static Icon getMenuItemCheckIcon()JCheckBoxMenuItemによって使用されるアイコンを返します。- 戻り値:
- チェックボックスのメニュー項目のデフォルト・アイコン。デフォルトが存在しない場合はnull
 
- 
getMenuItemArrowIconpublic static Icon getMenuItemArrowIcon()JMenuItemが使用するアイコンを返します。- 戻り値:
- JMenuItemで使用されるアイコン
 
- 
getCheckBoxMenuItemIconpublic static Icon getCheckBoxMenuItemIcon()JCheckBoxMenuItemによって使用されるアイコンを返します。- 戻り値:
- JCheckBoxMenuItemで使用されるアイコン
 
- 
getRadioButtonMenuItemIconpublic static Icon getRadioButtonMenuItemIcon()JRadioButtonMenuItemが使用するアイコンを返します。- 戻り値:
- JRadioButtonMenuItemで使用されるアイコン
 
- 
getHorizontalSliderThumbIconpublic static Icon getHorizontalSliderThumbIcon()水平スライダで使用するサム・アイコンを返します。- 戻り値:
- 水平スライダで使用するサム・アイコン
 
- 
getVerticalSliderThumbIconpublic static Icon getVerticalSliderThumbIcon()垂直スライダで使用するサム・アイコンを返します。- 戻り値:
- 垂直スライダで使用されるサム・アイコン
 
 
-