public class IconLib
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IconLib.IconGroup
Enum for groups of icons in the library
|
Constructor and Description |
---|
IconLib() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.Icon |
getIcon(IconLib.IconGroup group,
java.lang.String iconName)
Get the URL to the specified Icon.
|
static javax.swing.Icon |
getIcon(java.lang.String group,
java.lang.String iconName)
Get the URL to the specified Icon.
|
static java.net.URL |
getIconURL(IconLib.IconGroup group,
java.lang.String iconName)
Get the URL to the specified Icon.
|
static java.net.URL |
getIconURL(java.lang.String group,
java.lang.String iconName)
Get the URL to the specified Icon.
|
protected static java.lang.String |
getPathToIcon(IconLib.IconGroup group,
java.lang.String iconName)
Get the path to the specified named icon which resides in the library.
|
protected static java.lang.String |
getPathToIcon(java.lang.String group,
java.lang.String iconName)
Get the path to the specified named icon which resides in the library.
|
protected static java.lang.String getPathToIcon(IconLib.IconGroup group, java.lang.String iconName)
group
- the group of icon, i.e. one of DEVELOPMENT, GENERAL, MEDIA, NAVIGATION, TABLE, TEXTiconName
- the name of the icon to fetch, e.g. "Cut24.gif"public static java.net.URL getIconURL(IconLib.IconGroup group, java.lang.String iconName)
group
- the group of icon, i.e. one of DEVELOPMENT, GENERAL, MEDIA, NAVIGATION, TABLE, TEXTiconName
- the name of the icon to fetch, e.g. "Cut24.gif"public static javax.swing.Icon getIcon(IconLib.IconGroup group, java.lang.String iconName)
group
- the group of icon, i.e. one of DEVELOPMENT, GENERAL, MEDIA, NAVIGATION, TABLE, TEXTiconName
- the name of the icon to fetch, e.g. "Cut24.gif"protected static java.lang.String getPathToIcon(java.lang.String group, java.lang.String iconName)
group
- the group of icon, i.e. one of "development", "general", "media", "navigation", "table", "text"iconName
- the name of the icon to fetch, e.g. "Cut24.gif"public static java.net.URL getIconURL(java.lang.String group, java.lang.String iconName)
group
- the group of icon, i.e. one of "development", "general", "media", "navigation", "table", "text"iconName
- the name of the icon to fetch, e.g. "Cut24.gif"public static javax.swing.Icon getIcon(java.lang.String group, java.lang.String iconName)
group
- the group of icon, i.e. one of "development", "general", "media", "navigation", "table", "text"iconName
- the name of the icon to fetch, e.g. "Cut24.gif"