com.alee.managers.popup
Enum PopupWay

java.lang.Object
  extended by java.lang.Enum<PopupWay>
      extended by com.alee.managers.popup.PopupWay
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PopupWay>

public enum PopupWay
extends java.lang.Enum<PopupWay>

This enumeration represents possible popup display ways relative to invoker component.

Author:
Mikle Garin

Enum Constant Summary
downCenter
           
downLeft
           
downRight
           
leftCenter
           
leftDown
           
leftUp
           
rightCenter
           
rightDown
           
rightUp
           
upCenter
           
upLeft
           
upRight
           
 
Method Summary
static PopupWay valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PopupWay[] 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

upCenter

public static final PopupWay upCenter

upLeft

public static final PopupWay upLeft

upRight

public static final PopupWay upRight

leftCenter

public static final PopupWay leftCenter

leftUp

public static final PopupWay leftUp

leftDown

public static final PopupWay leftDown

downCenter

public static final PopupWay downCenter

downLeft

public static final PopupWay downLeft

downRight

public static final PopupWay downRight

rightCenter

public static final PopupWay rightCenter

rightUp

public static final PopupWay rightUp

rightDown

public static final PopupWay rightDown
Method Detail

values

public static PopupWay[] 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 (PopupWay c : PopupWay.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PopupWay valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null