public static enum Viewer.ViewControlMask extends java.lang.Enum<Viewer.ViewControlMask>
Enum Constant and Description |
---|
ALONG_X_ONLY
View control motions allowed only along the x axis.
|
ALONG_Y_ONLY
View control motions allowed only along the y axis.
|
NONE
No constraints on view control motions.
|
Modifier and Type | Method and Description |
---|---|
static Viewer.ViewControlMask |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Viewer.ViewControlMask[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Viewer.ViewControlMask NONE
public static final Viewer.ViewControlMask ALONG_X_ONLY
public static final Viewer.ViewControlMask ALONG_Y_ONLY
public static Viewer.ViewControlMask[] values()
for (Viewer.ViewControlMask c : Viewer.ViewControlMask.values()) System.out.println(c);
public static Viewer.ViewControlMask 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 namejava.lang.NullPointerException
- if the argument is null