public enum ZoomUnit extends Enum<ZoomUnit>
| Enum Constant and Description |
|---|
ZoomUnit_LargeDecrement
The value of this constant is 1
|
ZoomUnit_LargeIncrement
The value of this constant is 3
|
ZoomUnit_NoAmount
The value of this constant is 0
|
ZoomUnit_SmallDecrement
The value of this constant is 2
|
ZoomUnit_SmallIncrement
The value of this constant is 4
|
| Modifier and Type | Method and Description |
|---|---|
static ZoomUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZoomUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZoomUnit ZoomUnit_NoAmount
The value of this constant is 0
public static final ZoomUnit ZoomUnit_LargeDecrement
The value of this constant is 1
public static final ZoomUnit ZoomUnit_SmallDecrement
The value of this constant is 2
public static final ZoomUnit ZoomUnit_LargeIncrement
The value of this constant is 3
public static final ZoomUnit ZoomUnit_SmallIncrement
The value of this constant is 4
public static ZoomUnit[] values()
for (ZoomUnit c : ZoomUnit.values()) System.out.println(c);
public static ZoomUnit 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 nullCopyright © 2016. All rights reserved.