JavaTM 2 Platform
Std. Ed. v1.3

javax.swing.plaf.metal
クラス MetalIconFactory

java.lang.Object
  |
  +--javax.swing.plaf.metal.MetalIconFactory
すべての実装インタフェース:
Serializable

public class MetalIconFactory
extends Object
implements Serializable

Metal に適した Icon を生成できるファクトリオブジェクトです。Metal では、デフォルトの機構により多数の Icon が使用されます。他の Look & Feel では、Icon の一部に GIF を使用するのに対して、コード内でこの作業を行うことで他の Theme への切り替えが容易になります。

警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。今後の Swing リリースでは、長期間の持続性をサポートする予定です。

関連項目:
直列化された形式

内部クラスの概要
static class MetalIconFactory.FileIcon16
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.FolderIcon16
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.PaletteCloseIcon
          Palette クローズのアイコンを定義します。
static class MetalIconFactory.TreeControlIcon
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.TreeFolderIcon
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.TreeLeafIcon
           
 
フィールドの概要
static boolean DARK
           
static boolean LIGHT
           
 
コンストラクタの概要
MetalIconFactory()
           
 
メソッドの概要
static Icon getCheckBoxIcon()
          チェックボックスアイコンを返します。
static Icon getCheckBoxMenuItemIcon()
           
static Icon getFileChooserDetailViewIcon()
           
static Icon getFileChooserHomeFolderIcon()
           
static Icon getFileChooserListViewIcon()
           
static Icon getFileChooserNewFolderIcon()
           
static Icon getFileChooserUpFolderIcon()
           
static Icon getHorizontalSliderThumbIcon()
           
static Icon getInternalFrameAltMaximizeIcon(int size)
           
static Icon getInternalFrameCloseIcon(int size)
           
static Icon getInternalFrameDefaultMenuIcon()
           
static Icon getInternalFrameMaximizeIcon(int size)
           
static Icon getInternalFrameMinimizeIcon(int size)
           
static Icon getMenuArrowIcon()
           
static Icon getMenuItemArrowIcon()
           
static Icon getMenuItemCheckIcon()
           
static Icon getRadioButtonIcon()
           
static Icon getRadioButtonMenuItemIcon()
           
static Icon getTreeComputerIcon()
           
static Icon getTreeControlIcon(boolean isCollapsed)
           
static Icon getTreeFloppyDriveIcon()
           
static Icon getTreeFolderIcon()
           
static Icon getTreeHardDriveIcon()
           
static Icon getTreeLeafIcon()
           
static Icon getVerticalSliderThumbIcon()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

DARK

public static final boolean DARK

LIGHT

public static final boolean LIGHT
コンストラクタの詳細

MetalIconFactory

public MetalIconFactory()
メソッドの詳細

getFileChooserDetailViewIcon

public static Icon getFileChooserDetailViewIcon()

getFileChooserHomeFolderIcon

public static Icon getFileChooserHomeFolderIcon()

getFileChooserListViewIcon

public static Icon getFileChooserListViewIcon()

getFileChooserNewFolderIcon

public static Icon getFileChooserNewFolderIcon()

getFileChooserUpFolderIcon

public static Icon getFileChooserUpFolderIcon()

getInternalFrameAltMaximizeIcon

public static Icon getInternalFrameAltMaximizeIcon(int size)

getInternalFrameCloseIcon

public static Icon getInternalFrameCloseIcon(int size)

getInternalFrameDefaultMenuIcon

public static Icon getInternalFrameDefaultMenuIcon()

getInternalFrameMaximizeIcon

public static Icon getInternalFrameMaximizeIcon(int size)

getInternalFrameMinimizeIcon

public static Icon getInternalFrameMinimizeIcon(int size)

getRadioButtonIcon

public static Icon getRadioButtonIcon()

getCheckBoxIcon

public static Icon getCheckBoxIcon()
チェックボックスアイコンを返します。
導入されたバージョン:
1.3

getTreeComputerIcon

public static Icon getTreeComputerIcon()

getTreeFloppyDriveIcon

public static Icon getTreeFloppyDriveIcon()

getTreeFolderIcon

public static Icon getTreeFolderIcon()

getTreeHardDriveIcon

public static Icon getTreeHardDriveIcon()

getTreeLeafIcon

public static Icon getTreeLeafIcon()

getTreeControlIcon

public static Icon getTreeControlIcon(boolean isCollapsed)

getMenuArrowIcon

public static Icon getMenuArrowIcon()

getMenuItemCheckIcon

public static Icon getMenuItemCheckIcon()

getMenuItemArrowIcon

public static Icon getMenuItemArrowIcon()

getCheckBoxMenuItemIcon

public static Icon getCheckBoxMenuItemIcon()

getRadioButtonMenuItemIcon

public static Icon getRadioButtonMenuItemIcon()

getHorizontalSliderThumbIcon

public static Icon getHorizontalSliderThumbIcon()

getVerticalSliderThumbIcon

public static Icon getVerticalSliderThumbIcon()

JavaTM 2 Platform
Std. Ed. v1.3

バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。

Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.