public class MetalIconFactory extends Object implements Serializable
Icon
s为java™外观(金属)。这些图标被广泛应用于金属通过默认机制。而其他的外观和感觉经常使用的GIF图标,在代码中创建图标方便切换到其他主题。
在这类返回一Icon
或null
每个方法,在null
意味着没有默认图标。
警告:序列化该类的对象与以后的Swing版本不兼容。当前的序列化支持适用于短期贮藏或RMI运行相同Swing版本的应用程序之间。为1.4,为所有JavaBeans™长期存储的支持已被添加到java.beans
包。请看XMLEncoder
。
Modifier and Type | Class and Description |
---|---|
static class |
MetalIconFactory.FileIcon16
警告:序列化该类的对象与以后的Swing版本不兼容。
|
static class |
MetalIconFactory.FolderIcon16
警告:序列化该类的对象与以后的Swing版本不兼容。
|
static class |
MetalIconFactory.PaletteCloseIcon
定义调色板关闭的图标
|
static class |
MetalIconFactory.TreeControlIcon
警告:序列化该类的对象与以后的Swing版本不兼容。
|
static class |
MetalIconFactory.TreeFolderIcon
警告:序列化该类的对象与以后的Swing版本不兼容。
|
static class |
MetalIconFactory.TreeLeafIcon |
Modifier and Type | Field and Description |
---|---|
static boolean |
DARK |
static boolean |
LIGHT |
Constructor and Description |
---|
MetalIconFactory() |
public static final boolean DARK
public static final boolean LIGHT
public static Icon getFileChooserDetailViewIcon()
public static Icon getFileChooserHomeFolderIcon()
public static Icon getFileChooserListViewIcon()
public static Icon getFileChooserNewFolderIcon()
public static Icon getFileChooserUpFolderIcon()
public static Icon getInternalFrameAltMaximizeIcon(int size)
public static Icon getInternalFrameCloseIcon(int size)
public static Icon getInternalFrameDefaultMenuIcon()
public static Icon getInternalFrameMaximizeIcon(int size)
public static Icon getInternalFrameMinimizeIcon(int size)
public static Icon getRadioButtonIcon()
public static Icon getCheckBoxIcon()
public static Icon getTreeComputerIcon()
public static Icon getTreeFloppyDriveIcon()
public static Icon getTreeFolderIcon()
public static Icon getTreeHardDriveIcon()
public static Icon getTreeLeafIcon()
public static Icon getTreeControlIcon(boolean isCollapsed)
public static Icon getMenuArrowIcon()
public static Icon getMenuItemCheckIcon()
JCheckBoxMenuItem
。
null
如果没有默认的存在
public static Icon getMenuItemArrowIcon()
public static Icon getCheckBoxMenuItemIcon()
public static Icon getRadioButtonMenuItemIcon()
public static Icon getHorizontalSliderThumbIcon()
public static Icon getVerticalSliderThumbIcon()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.