|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ZoomEnum>
sk.baka.ambient.ZoomEnum
public enum ZoomEnum
Zoom categories. Generally, low integer values means smaller image.
| Enum Constant Summary | |
|---|---|
Buttons
The menu/sub-menu buttons. |
|
ListViewItems
Zoom of the list view items. |
|
| Field Summary | |
|---|---|
Interval |
levels
Allowed levels. |
| Method Summary | |
|---|---|
int |
getLevel(java.util.Map<ZoomEnum,java.lang.Integer> map)
Returns zoom level for this category. |
static java.util.EnumMap<ZoomEnum,java.lang.Integer> |
getMinLevels()
Returns a map of levels having minimal levels. |
void |
setLevel(java.util.Map<ZoomEnum,java.lang.Integer> map,
int level)
Returns zoom level for this category. |
static ZoomEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ZoomEnum[] |
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 ZoomEnum Buttons
public static final ZoomEnum ListViewItems
| Field Detail |
|---|
public final Interval levels
| Method Detail |
|---|
public static ZoomEnum[] values()
for (ZoomEnum c : ZoomEnum.values()) System.out.println(c);
public static ZoomEnum 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 name
java.lang.NullPointerException - if the argument is nullpublic static java.util.EnumMap<ZoomEnum,java.lang.Integer> getMinLevels()
public int getLevel(java.util.Map<ZoomEnum,java.lang.Integer> map)
map - the category map to query.
public void setLevel(java.util.Map<ZoomEnum,java.lang.Integer> map,
int level)
map - the category map to modify.level - the level
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||