javax.swing.plaf.metal
public class MetalIconFactory extends Object implements Serializable
Nested Class Summary | |
---|---|
static class | MetalIconFactory.FileIcon16
An icon representing a file (drawn as a piece of paper with the top-right
corner turned down). |
static class | MetalIconFactory.FolderIcon16
An icon representing a folder. |
static class | MetalIconFactory.PaletteCloseIcon
An icon used by the {@link MetalInternalFrameUI} class when the frame
is displayed as a palette.
|
static class | MetalIconFactory.TreeControlIcon
A tree control icon. |
static class | MetalIconFactory.TreeFolderIcon
A tree folder icon. |
static class | MetalIconFactory.TreeLeafIcon
A tree leaf icon. |
Field Summary | |
---|---|
static boolean | DARK A constant representing "dark". |
static boolean | LIGHT A constant representing "light". |
Constructor Summary | |
---|---|
MetalIconFactory()
Creates a new instance. |
Method Summary | |
---|---|
static Icon | getCheckBoxIcon()
Returns an icon for use when rendering the {@link JCheckBox} component.
|
static Icon | getCheckBoxMenuItemIcon()
Returns an icon for use when rendering the {@link JCheckBoxMenuItem}
component.
|
static Icon | getFileChooserDetailViewIcon()
Returns an icon for use by the {@link JFileChooser} component.
|
static Icon | getFileChooserHomeFolderIcon()
Returns an icon for use by the {@link JFileChooser} component.
|
static Icon | getFileChooserListViewIcon()
Returns an icon for use by the {@link JFileChooser} component.
|
static Icon | getFileChooserNewFolderIcon()
Returns an icon for use by the {@link JFileChooser} component.
|
static Icon | getFileChooserUpFolderIcon()
Returns an icon for use by the {@link JFileChooser} component.
|
static Icon | getHorizontalSliderThumbIcon()
Returns the icon used to display the thumb for a horizontally oriented
{@link JSlider}.
|
static Icon | getInternalFrameAltMaximizeIcon(int size)
Creates a new icon for the 'restore' button in a {@link JInternalFrame}
that has been maximised.
|
static Icon | getInternalFrameCloseIcon(int size)
Creates a new icon used to represent the 'close' button in the title
pane of a {@link JInternalFrame}.
|
static Icon | getInternalFrameDefaultMenuIcon()
Creates a new icon for the menu in a {@link JInternalFrame}. |
static Icon | getInternalFrameMaximizeIcon(int size)
Creates a new icon for the 'maximize' button in a {@link JInternalFrame}.
|
static Icon | getInternalFrameMinimizeIcon(int size)
Returns the icon used for the minimize button in the frame title for a
{@link JInternalFrame}.
|
static Icon | getMenuArrowIcon()
Returns a new instance of a 4 x 8 icon showing a small black triangle that
points to the right. |
static Icon | getMenuItemArrowIcon()
Returns a new instance of a 4 x 8 icon showing a small black triangle that
points to the right. |
static Icon | getMenuItemCheckIcon()
Returns a new instance of a 13 x 13 icon showing a small black check mark.
|
static Icon | getRadioButtonIcon()
Returns an icon for RadioButtons in the Metal L&F.
|
static Icon | getRadioButtonMenuItemIcon()
Creates a new instance of the icon used in a {@link JRadioButtonMenuItem}.
|
static Icon | getTreeComputerIcon()
Returns a 16x16 icon representing a computer.
|
static Icon | getTreeControlIcon(boolean isCollapsed)
Creates and returns a tree control icon.
|
static Icon | getTreeFloppyDriveIcon()
Returns a 16x16 icon representing a floppy disk.
|
static Icon | getTreeFolderIcon()
Creates and returns a new tree folder icon.
|
static Icon | getTreeHardDriveIcon()
Returns a 16x16 icon representing a hard disk.
|
static Icon | getTreeLeafIcon()
Creates and returns a new tree leaf icon.
|
static Icon | getVerticalSliderThumbIcon()
Returns the icon used to display the thumb for a vertically oriented
{@link JSlider}.
|
Returns: A check box icon.
Since: 1.3
Returns: An icon.
Returns: An icon.
Returns: An icon.
Returns: An icon.
Returns: An icon.
Returns: An icon.
Returns: The icon.
Parameters: size the icon size in pixels.
Returns: The icon.
See Also: MetalIconFactory
Parameters: size the icon size.
Returns: A close icon.
Returns: A menu icon.
Parameters: size the icon size in pixels.
Returns: The icon.
See Also: MetalIconFactory
Parameters: size the icon size in pixels (ignored by this implementation).
Returns: The icon.
Returns: The icon.
Returns: The icon.
Returns: The icon.
Returns: an icon for RadioButtons in the Metal L&F
Returns: A new icon instance.
16x16
icon representing a computer.
Returns: The icon.
Parameters: isCollapsed a flag that controls whether the icon is in the collapsed or expanded state.
Returns: A tree control icon.
16x16
icon representing a floppy disk.
Returns: The icon.
Returns: A new tree folder icon.
16x16
icon representing a hard disk.
Returns: The icon.
Returns: A new tree leaf icon.
Returns: The icon.