public static enum TLcdIconFactory.Size extends Enum<TLcdIconFactory.Size>
Enumeration representing the size of the icons
Note that in future releases, it is possible that extra sizes will be added to this enumeration.
Enum Constant and Description |
---|
SIZE_16
16 by 16 pixels icons
|
SIZE_24
24 by 24 pixels icons
|
SIZE_32
32 by 32 pixels icons
|
Modifier and Type | Method and Description |
---|---|
int |
getSize()
Returns the size in pixels.
|
static TLcdIconFactory.Size |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TLcdIconFactory.Size[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLcdIconFactory.Size SIZE_16
public static final TLcdIconFactory.Size SIZE_24
public static final TLcdIconFactory.Size SIZE_32
public static TLcdIconFactory.Size[] values()
for (TLcdIconFactory.Size c : TLcdIconFactory.Size.values()) System.out.println(c);
public static TLcdIconFactory.Size valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getSize()