public class MetalIconFactory extends Objectimplements Serializable
Icons for the Java™ 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 JavaBeans™ has been added to the java.beans package. Please see XMLEncoder.
| Modifier and Type | Class and Description |
|---|---|
static class |
MetalIconFactory
Warning: Serialized objects of this class will not be compatible with future Swing releases.
|
static class |
MetalIconFactory
Warning: Serialized objects of this class will not be compatible with future Swing releases.
|
static class |
MetalIconFactory
Defines an icon for Palette close
|
static class |
MetalIconFactory
Warning: Serialized objects of this class will not be compatible with future Swing releases.
|
static class |
MetalIconFactory
Warning: Serialized objects of this class will not be compatible with future Swing releases.
|
static class |
MetalIconFactory
|
| 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 IcongetFileChooserDetailViewIcon()
public static IcongetFileChooserHomeFolderIcon()
public static IcongetFileChooserListViewIcon()
public static IcongetFileChooserNewFolderIcon()
public static IcongetFileChooserUpFolderIcon()
public static IcongetInternalFrameAltMaximizeIcon(int size)
public static IcongetInternalFrameCloseIcon(int size)
public static IcongetInternalFrameDefaultMenuIcon()
public static IcongetInternalFrameMaximizeIcon(int size)
public static IcongetInternalFrameMinimizeIcon(int size)
public static IcongetRadioButtonIcon()
public static IcongetCheckBoxIcon()
public static IcongetTreeComputerIcon()
public static IcongetTreeFloppyDriveIcon()
public static IcongetTreeFolderIcon()
public static IcongetTreeHardDriveIcon()
public static IcongetTreeLeafIcon()
public static IcongetTreeControlIcon(boolean isCollapsed)
public static IcongetMenuArrowIcon()
public static IcongetMenuItemCheckIcon()
JCheckBoxMenuItem.
null if no default exists
public static IcongetMenuItemArrowIcon()
public static IcongetCheckBoxMenuItemIcon()
public static IcongetRadioButtonMenuItemIcon()
public static IcongetHorizontalSliderThumbIcon()
public static IcongetVerticalSliderThumbIcon()