public enum DockPosition extends java.lang.Enum<DockPosition> implements INativeEnum
Enum Constant and Description |
---|
Bottom
The window is docked at the bottom.
|
Fill
The window is docked on all four sides.
|
Left
The window is docked at the left.
|
None
The window is not docked.
|
Right
The window is docked at the right.
|
Top
The window is docked at the top.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<DockPosition> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static DockPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DockPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DockPosition Top
public static final DockPosition Left
public static final DockPosition Bottom
public static final DockPosition Right
public static final DockPosition Fill
public static final DockPosition None
public static DockPosition[] values()
for (DockPosition c : DockPosition.values()) System.out.println(c);
public static DockPosition 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<DockPosition> fromNativeValue(int nativeValue)