public enum StripeReparentPolicy extends Enum<StripeReparentPolicy>
This enumeration determines where to place the stripe as result of the reparent gesture.
Enum Constant and Description |
---|
ADD_CHILD
Add the moved stripe as a new child of the target stripe.
|
INSERT_AFTER
Insert the moved stripe after the target stripe.
|
INSERT_BEFORE
Insert the moved stripe before the target stripe.
|
INVALID
The current gesture would result in an invalid operation (such as trying to make a stripe to its own child).
|
Modifier and Type | Method and Description |
---|---|
static StripeReparentPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static StripeReparentPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StripeReparentPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StripeReparentPolicy ADD_CHILD
public static final StripeReparentPolicy INSERT_AFTER
public static final StripeReparentPolicy INSERT_BEFORE
public static final StripeReparentPolicy INVALID
public static final StripeReparentPolicy fromOrdinal(int ordinal)
public int value()
public static StripeReparentPolicy valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static StripeReparentPolicy[] values()
for (StripeReparentPolicy c : StripeReparentPolicy.values()) System.out.println(c);