public static enum DrawerContainer.Position extends Enum<DrawerContainer.Position>
Modifier and Type | Method and Description |
---|---|
static DrawerContainer.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DrawerContainer.Position |
valueOfConstraint(String constraint)
Returns the position constant with the specified constraint.
|
static DrawerContainer.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrawerContainer.Position CENTER
public static final DrawerContainer.Position TOP
public static final DrawerContainer.Position BOTTOM
public static final DrawerContainer.Position LEFT
public static final DrawerContainer.Position RIGHT
public static DrawerContainer.Position[] values()
for (DrawerContainer.Position c : DrawerContainer.Position.values()) System.out.println(c);
public static DrawerContainer.Position 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 nullpublic static DrawerContainer.Position valueOfConstraint(String constraint)
constraint
- the constraint of the position constant to returnconstraint
- null
if no position constant matchesNullPointerException
- if constraint
nullCopyright © 2024 levigo holding gmbh. All rights reserved.