public static enum VirtualFlow.Gravity extends Enum<VirtualFlow.Gravity>
| Enum Constant and Description |
|---|
FRONT
If using a
vertical viewport, lays out the content from top-to-bottom. |
REAR
If using a
vertical viewport, lays out the content from bottom-to-top. |
| Modifier and Type | Method and Description |
|---|---|
static VirtualFlow.Gravity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VirtualFlow.Gravity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VirtualFlow.Gravity FRONT
vertical viewport, lays out the content from top-to-bottom. The first
visible item will appear at the top and the last visible item (or unused space) towards the bottom.
If using a horizontal viewport, lays out the content from left-to-right. The first
visible item will appear at the left and the last visible item (or unused space) towards the right.
public static final VirtualFlow.Gravity REAR
vertical viewport, lays out the content from bottom-to-top. The first
visible item will appear at the bottom and the last visible item (or unused space) towards the top.
If using a horizontal viewport, lays out the content from right-to-left. The first
visible item will appear at the right and the last visible item (or unused space) towards the left.
public static VirtualFlow.Gravity[] values()
for (VirtualFlow.Gravity c : VirtualFlow.Gravity.values()) System.out.println(c);
public static VirtualFlow.Gravity 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 null