javax.swing.plaf.metal
Class MetalIconFactory
java.lang.Object
|
+--javax.swing.plaf.metal.MetalIconFactory
- public class MetalIconFactory
- extends Object
- implements Serializable
Factory object that can vend Icons appropriate for Metal.
These are used extensively in Metal via the defaults mechanism.
While other Look and Feels use GIFs for some of these, doing this
work in code facilitates things when switching to other Themes.
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. A future release of Swing will provide support for
long term persistence.
- See Also:
- Serialized Form
Field Summary |
static boolean |
DARK
|
static boolean |
LIGHT
|
Methods inherited from class 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()
Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.