public enum ControlPosition extends java.lang.Enum<ControlPosition>
Enum Constant and Description |
---|
BOTTOM_CENTER
Elements are positioned in the center of the bottom row.
|
BOTTOM_LEFT
Elements are positioned in the bottom left and flow towards the middle.
|
BOTTOM_RIGHT
Elements are positioned in the bottom right and flow towards the middle.
|
LEFT_BOTTOM
Elements are positioned on the left, above bottom-left elements, and flow upwards.
|
LEFT_CENTER
Elements are positioned in the center of the left side.
|
LEFT_TOP
Elements are positioned on the left, below top-left elements, and flow downwards.
|
RIGHT_BOTTOM
Elements are positioned on the right, above bottom-right elements, and flow upwards.
|
RIGHT_CENTER
Elements are positioned in the center of the right side.
|
RIGHT_TOP
Elements are positioned on the right, below top-right elements, and flow downwards.
|
TOP_CENTER
Elements are positioned in the center of the top row.
|
TOP_LEFT
Elements are positioned in the top left and flow towards the middle.
|
TOP_RIGHT
Elements are positioned in the top right and flow towards the middle.
|
Modifier and Type | Method and Description |
---|---|
static ControlPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ControlPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ControlPosition BOTTOM_CENTER
public static final ControlPosition BOTTOM_LEFT
public static final ControlPosition BOTTOM_RIGHT
public static final ControlPosition LEFT_BOTTOM
public static final ControlPosition LEFT_CENTER
public static final ControlPosition LEFT_TOP
public static final ControlPosition RIGHT_BOTTOM
public static final ControlPosition RIGHT_CENTER
public static final ControlPosition RIGHT_TOP
public static final ControlPosition TOP_CENTER
public static final ControlPosition TOP_LEFT
public static final ControlPosition TOP_RIGHT
public static ControlPosition[] values()
for (ControlPosition c : ControlPosition.values()) System.out.println(c);
public static ControlPosition 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