public enum DockPosition extends Enum<DockPosition>
| Enum Constant and Description |
|---|
DockPosition_Bottom
The value of this constant is 2
|
DockPosition_Fill
The value of this constant is 4
|
DockPosition_Left
The value of this constant is 1
|
DockPosition_None
The value of this constant is 5
|
DockPosition_Right
The value of this constant is 3
|
DockPosition_Top
The value of this constant is 0
|
| Modifier and Type | Method and Description |
|---|---|
static DockPosition |
valueOf(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 DockPosition_Top
The value of this constant is 0
public static final DockPosition DockPosition_Left
The value of this constant is 1
public static final DockPosition DockPosition_Bottom
The value of this constant is 2
public static final DockPosition DockPosition_Right
The value of this constant is 3
public static final DockPosition DockPosition_Fill
The value of this constant is 4
public static final DockPosition DockPosition_None
The value of this constant is 5
public static DockPosition[] values()
for (DockPosition c : DockPosition.values()) System.out.println(c);
public static DockPosition 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.