public enum ViewAngle extends Enum<ViewAngle>
Enum Constant and Description |
---|
NARROW
A narrow view angle.
|
NORMAL
A normal view angle.
|
WIDE
A wide view angle.
|
Modifier and Type | Method and Description |
---|---|
static ViewAngle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViewAngle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewAngle NARROW
public static final ViewAngle NORMAL
public static final ViewAngle WIDE
public static ViewAngle[] values()
for (ViewAngle c : ViewAngle.values()) System.out.println(c);
public static ViewAngle 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 © 2003–2015 Atan. All rights reserved.