Java プラットフォーム 1.2

javax.swing.plaf.metal
クラス MetalIconFactory

java.lang.Object
  |
  +--javax.swing.plaf.metal.MetalIconFactory

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.TreeControlIcon
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.TreeFolderIcon
           警告: このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。
static class MetalIconFactory.TreeLeafIcon
           
 
フィールドの概要
static boolean DARK
           
static boolean LIGHT
           
 
コンストラクタの概要
MetalIconFactory()
           
 
メソッドの概要
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()

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()

Java プラットフォーム 1.2

バグや機能要求の報告
新しい javadoc の表示についてのコメントやご提案
Java は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.