|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
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 | |
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. |
static class |
MetalIconFactory.PaletteCloseIcon
Defines an icon for Palette close |
static class |
MetalIconFactory.TreeControlIcon
Warning: Serialized objects of this class will not be compatible with future Swing releases. |
static class |
MetalIconFactory.TreeFolderIcon
Warning: Serialized objects of this class will not be compatible with future Swing releases. |
static class |
MetalIconFactory.TreeLeafIcon
|
Field Summary | |
static boolean |
DARK
|
static boolean |
LIGHT
|
Constructor Summary | |
MetalIconFactory()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final boolean DARK
public static final boolean LIGHT
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()
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.