com.levigo.util.swing.infobar
Enum DrawerContainer.Position

java.lang.Object
  extended by java.lang.Enum<DrawerContainer.Position>
      extended by 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>


Enum Constant Summary
BOTTOM
           
CENTER
           
LEFT
           
RIGHT
           
TOP
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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 return
constraint -
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.