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 java..
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| public static class | MetalIconFactory.
Warning Serialized objects of this class will not be compatible with future Swing releases. |
| public static class | MetalIconFactory.
Warning Serialized objects of this class will not be compatible with future Swing releases. |
| private static class | |
| pack-priv static class | MetalIconFactory.
Utility class for caching icon images. |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| private static class | |
| public static class | MetalIconFactory.
Defines an icon for Palette close |
| private static class | |
| private static class | |
| private static class | |
| public static class | MetalIconFactory.
Warning Serialized objects of this class will not be compatible with future Swing releases. |
| private static class | |
| public static class | MetalIconFactory.
Warning Serialized objects of this class will not be compatible with future Swing releases. |
| private static class | |
| public static class | MetalIconFactory.
The class represents a tree leaf icon. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static Icon | |
| private static Icon | |
| public static final boolean | DARK
|
| private static Icon | |
| private static Icon | |
| private static Icon | |
| private static Icon | |
| private static Icon | |
| private static final Dimension | |
| private static final Dimension | |
| private static Icon | |
| private static Icon | |
| private static Icon | |
| private static Icon | |
| private static Icon | |
| public static final boolean | LIGHT
|
| private static Icon | |
| private static final Dimension | |
| private static final Dimension | |
| private static Icon | |
| private static Icon | |
| private static Icon | |
| private static Icon | |
| private static Icon | |
| private static Icon | |
| private static final Dimension | |
| private static Icon | |
| private static Icon | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Icon | |
| public static Icon | Returns: an icon to be used byJCheckBoxMenuItemReturns an icon to be used by |
| public static Icon | Returns: the instance ofFileChooserDetailViewIconReturns the instance of |
| public static Icon | Returns: the instance ofFileChooserHomeFolderIconReturns the instance of |
| public static Icon | Returns: the instance ofFileChooserListViewIconReturns the instance of |
| public static Icon | Returns: the instance ofFileChooserNewFolderIconReturns the instance of |
| public static Icon | Returns: the instance ofFileChooserUpFolderIconReturns the instance of |
| public static Icon | Returns: a thumb icon to be used by horizontal sliderReturns a thumb icon to be used by horizontal slider. |
| public static Icon | Returns: a new instance ofInternalFrameAltMaximizeIconthe size of the icon size)Constructs a new instance of |
| public static Icon | Returns: a new instance ofInternalFrameCloseIconthe size of the icon size)Constructs a new instance of |
| public static Icon | Returns: the instance ofInternalFrameDefaultMenuIconReturns the instance of |
| public static Icon | Returns: a new instance ofInternalFrameMaximizeIconthe size of the icon size)Constructs a new instance of |
| public static Icon | Returns: a new instance ofInternalFrameMinimizeIconthe size of the icon size)Constructs a new instance of |
| public static Icon | |
| public static Icon | Returns: an icon to be used byJMenuItemReturns an icon to be used by |
| public static Icon | Returns: the default icon for check box menu items, ornull if no default existsReturns an icon to be used by |
| public static Icon | Returns: the instance ofRadioButtonIconReturns the instance of |
| public static Icon | Returns: an icon to be used byJRadioButtonMenuItemReturns an icon to be used by |
| public static Icon | Returns: the instance ofTreeComputerIconReturns the instance of |
| public static Icon | Returns: a new instance ofTreeControlIconif isCollapsed)true the icon is collapsedConstructs a new instance of |
| public static Icon | Returns: the instance ofTreeFloppyDriveIconReturns the instance of |
| public static Icon | Returns: a new instance ofTreeFolderIconConstructs a new instance of |
| public static Icon | Returns: the instance ofTreeHardDriveIconReturns the instance of |
| public static Icon | |
| public static Icon | Returns: a thumb icon to be used by vertical sliderReturns a thumb icon to be used by vertical slider. |