com.levigo.util.swing.infobar
Enum DrawerContainer.Position
java.lang.Object
java.lang.Enum<DrawerContainer.Position>
com.levigo.util.swing.infobar.DrawerContainer.Position
- All Implemented Interfaces:
- Serializable, Comparable<DrawerContainer.Position>
- Enclosing class:
- DrawerContainer
public static enum DrawerContainer.Position
- extends Enum<DrawerContainer.Position>
CENTER
public static final DrawerContainer.Position CENTER
TOP
public static final DrawerContainer.Position TOP
BOTTOM
public static final DrawerContainer.Position BOTTOM
LEFT
public static final DrawerContainer.Position LEFT
RIGHT
public static final DrawerContainer.Position RIGHT
values
public static DrawerContainer.Position[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DrawerContainer.Position c : DrawerContainer.Position.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DrawerContainer.Position valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
valueOfConstraint
public static DrawerContainer.Position valueOfConstraint(String constraint)
- Returns the position constant with the specified constraint. The given
constraint must match exactly the constraint of position constant to be
returned. (Extraneous whitespace characters are not permitted.)
- Parameters:
constraint
- the constraint of the position constant to returnconstraint
-
- Returns:
- the position constant with the specified constraint or
null
if no position constant matches
- Throws:
NullPointerException
- if constraint null
Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.