|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<IconSize>
net.sf.doolin.gui.service.IconSize
public enum IconSize
List of available sizes for icons.
| Enum Constant Summary | |
|---|---|
BIG
Big icon (64) |
|
LARGE
Large icon (32) |
|
MEDIUM
Medium icon (24) |
|
MINI
Mini icon (12) |
|
SMALL
Small icon (16) |
|
| Method Summary | |
|---|---|
IconSize |
getBiggerSize()
|
int |
getPreferredSize()
|
IconSize |
getSmallerSize()
|
static IconSize |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IconSize[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final IconSize MINI
public static final IconSize SMALL
public static final IconSize MEDIUM
public static final IconSize LARGE
public static final IconSize BIG
| Method Detail |
|---|
public static IconSize[] values()
for (IconSize c : IconSize.values()) System.out.println(c);
public static IconSize valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic IconSize getBiggerSize()
null if not availablepublic int getPreferredSize()
public IconSize getSmallerSize()
null if not available
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||