Factory object that vends 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.
Factory object that vends 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.
(*get-check-box-icon)
Returns a checkbox icon.
returns: javax.swing.Icon
Returns a checkbox icon. returns: `javax.swing.Icon`
(*get-check-box-menu-item-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-file-chooser-detail-view-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-file-chooser-home-folder-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-file-chooser-list-view-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-file-chooser-new-folder-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-file-chooser-up-folder-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-horizontal-slider-thumb-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-internal-frame-alt-maximize-icon size)
size - int
returns: javax.swing.Icon
size - `int` returns: `javax.swing.Icon`
(*get-internal-frame-close-icon size)
size - int
returns: javax.swing.Icon
size - `int` returns: `javax.swing.Icon`
(*get-internal-frame-default-menu-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-internal-frame-maximize-icon size)
size - int
returns: javax.swing.Icon
size - `int` returns: `javax.swing.Icon`
(*get-internal-frame-minimize-icon size)
size - int
returns: javax.swing.Icon
size - `int` returns: `javax.swing.Icon`
(*get-menu-arrow-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-menu-item-arrow-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-menu-item-check-icon)
Returns an icon to be used by JCheckBoxMenuItem.
returns: the default icon for check box menu items,
or null if no default exists - javax.swing.Icon
Returns an icon to be used by JCheckBoxMenuItem. returns: the default icon for check box menu items, or null if no default exists - `javax.swing.Icon`
(*get-radio-button-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-radio-button-menu-item-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-tree-computer-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-tree-control-icon is-collapsed)
is-collapsed - boolean
returns: javax.swing.Icon
is-collapsed - `boolean` returns: `javax.swing.Icon`
(*get-tree-floppy-drive-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-tree-folder-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-tree-hard-drive-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-tree-leaf-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
(*get-vertical-slider-thumb-icon)
returns: javax.swing.Icon
returns: `javax.swing.Icon`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close