public static enum IconProvider.Key extends java.lang.Enum<IconProvider.Key>
IconProvider.Key enumerated type is for convenience when
working with common icon provider keys.| Enum Constant and Description |
|---|
EXTRA_LARGE |
EXTRA_SMALL |
LARGE |
MEDIUM |
SMALL |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Dimension |
getSize() |
static IconProvider.Key |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IconProvider.Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IconProvider.Key EXTRA_SMALL
public static final IconProvider.Key SMALL
public static final IconProvider.Key MEDIUM
public static final IconProvider.Key LARGE
public static final IconProvider.Key EXTRA_LARGE
public static IconProvider.Key[] values()
for (IconProvider.Key c : IconProvider.Key.values()) System.out.println(c);
public static IconProvider.Key valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.awt.Dimension getSize()