|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.plaf.metal.MetalIconFactory
Factory object that vends Icon
s for
the JavaTM look and feel (Metal).
These icons are used extensively in Metal via the defaults mechanism.
While other look and feels often use GIFs for icons, creating icons
in code facilitates switching to other themes.
Each method in this class returns
either an Icon
or null
,
where null
implies that there is no default icon.
Warning:
Serialized objects of this class will not be compatible with
future Swing releases. The current serialization support is
appropriate for short term storage or RMI between applications running
the same version of Swing. As of 1.4, support for long term storage
of all JavaBeansTM
has been added to the java.beans
package.
Please see XMLEncoder
.
Nested Class Summary | |
private static class |
MetalIconFactory.CheckBoxIcon
|
private static class |
MetalIconFactory.CheckBoxMenuItemIcon
|
private static class |
MetalIconFactory.FileChooserDetailViewIcon
|
private static class |
MetalIconFactory.FileChooserHomeFolderIcon
|
private static class |
MetalIconFactory.FileChooserListViewIcon
|
private static class |
MetalIconFactory.FileChooserNewFolderIcon
|
private static class |
MetalIconFactory.FileChooserUpFolderIcon
|
static class |
MetalIconFactory.FileIcon16
Warning: Serialized objects of this class will not be compatible with future Swing releases. |
static class |
MetalIconFactory.FolderIcon16
Warning: Serialized objects of this class will not be compatible with future Swing releases. |
private static class |
MetalIconFactory.HorizontalSliderThumbIcon
|
(package private) static class |
MetalIconFactory.ImageCacher
Utility class for caching icon images. |
private static class |
MetalIconFactory.InternalFrameAltMaximizeIcon
|
private static class |
MetalIconFactory.InternalFrameCloseIcon
|
private static class |
MetalIconFactory.InternalFrameDefaultMenuIcon
|
private static class |
MetalIconFactory.InternalFrameMaximizeIcon
|
private static class |
MetalIconFactory.InternalFrameMinimizeIcon
|
private static class |
MetalIconFactory.MenuArrowIcon
|
private static class |
MetalIconFactory.MenuItemArrowIcon
|
static class |
MetalIconFactory.PaletteCloseIcon
Defines an icon for Palette close |
private static class |
MetalIconFactory.RadioButtonIcon
|
private static class |
MetalIconFactory.RadioButtonMenuItemIcon
|
private static class |
MetalIconFactory.TreeComputerIcon
|
static class |
MetalIconFactory.TreeControlIcon
Warning: Serialized objects of this class will not be compatible with future Swing releases. |
private static class |
MetalIconFactory.TreeFloppyDriveIcon
|
static class |
MetalIconFactory.TreeFolderIcon
Warning: Serialized objects of this class will not be compatible with future Swing releases. |
private static class |
MetalIconFactory.TreeHardDriveIcon
|
static class |
MetalIconFactory.TreeLeafIcon
|
private static class |
MetalIconFactory.VerticalSliderThumbIcon
|
Constructor Summary | |
MetalIconFactory()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static Icon fileChooserDetailViewIcon
private static Icon fileChooserHomeFolderIcon
private static Icon fileChooserListViewIcon
private static Icon fileChooserNewFolderIcon
private static Icon fileChooserUpFolderIcon
private static Icon internalFrameAltMaximizeIcon
private static Icon internalFrameCloseIcon
private static Icon internalFrameDefaultMenuIcon
private static Icon internalFrameMaximizeIcon
private static Icon internalFrameMinimizeIcon
private static Icon radioButtonIcon
private static Icon treeComputerIcon
private static Icon treeFloppyDriveIcon
private static Icon treeHardDriveIcon
private static Icon menuArrowIcon
private static Icon menuItemArrowIcon
private static Icon checkBoxMenuItemIcon
private static Icon radioButtonMenuItemIcon
private static Icon checkBoxIcon
public static final boolean DARK
public static final boolean LIGHT
private static final Dimension folderIcon16Size
private static final Dimension fileIcon16Size
private static final Dimension treeControlSize
private static final Dimension menuArrowIconSize
private static final Dimension menuCheckIconSize
private static final int xOff
Constructor Detail |
public MetalIconFactory()
Method Detail |
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
if no default existspublic static Icon getMenuItemArrowIcon()
public static Icon getCheckBoxMenuItemIcon()
public static Icon getRadioButtonMenuItemIcon()
public static Icon getHorizontalSliderThumbIcon()
public static Icon getVerticalSliderThumbIcon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |