public enum OrientationType extends java.lang.Enum<OrientationType> implements INativeEnum
Enum Constant and Description |
---|
Horizontal
The control has horizontal orientation.
|
None
The control has no orientation.
|
Vertical
The control has vertical orientation.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<OrientationType> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static OrientationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrientationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OrientationType None
public static final OrientationType Horizontal
public static final OrientationType Vertical
public static OrientationType[] values()
for (OrientationType c : OrientationType.values()) System.out.println(c);
public static OrientationType 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 nullpublic int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<OrientationType> fromNativeValue(int nativeValue)