com.alee.extended.window
Enum PopOverLocation

java.lang.Object
  extended by java.lang.Enum<PopOverLocation>
      extended by com.alee.extended.window.PopOverLocation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PopOverLocation>

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

This enumeration represents possible WebPopOver default display locations on the screen.

Author:
Mikle Garin
See Also:
WebPopOver

Enum Constant Summary
bottomCenter
          Bottom center of the screen.
bottomLeft
          Bottom-left corner of the screen.
bottomRight
          Bottom-right corner of the screen.
center
          Center of the screen.
leftCenter
          Left center of the screen.
rightCenter
          Right center of the screen.
topCenter
          Top center of the screen.
topLeft
          Top-left corner of the screen.
topRight
          Top-right corner of the screen.
 
Method Summary
static PopOverLocation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PopOverLocation[] 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 PopOverLocation center
Center of the screen.


topLeft

public static final PopOverLocation topLeft
Top-left corner of the screen.


topRight

public static final PopOverLocation topRight
Top-right corner of the screen.


bottomLeft

public static final PopOverLocation bottomLeft
Bottom-left corner of the screen.


bottomRight

public static final PopOverLocation bottomRight
Bottom-right corner of the screen.


topCenter

public static final PopOverLocation topCenter
Top center of the screen.


bottomCenter

public static final PopOverLocation bottomCenter
Bottom center of the screen.


leftCenter

public static final PopOverLocation leftCenter
Left center of the screen.


rightCenter

public static final PopOverLocation rightCenter
Right center of the screen.

Method Detail

values

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

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

valueOf

public static PopOverLocation 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