com.alee.extended.window
Enum PopOverAlignment

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

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

Author:
Mikle Garin

Enum Constant Summary
centered
          Determines that WebPopOver should be centered relative to WebPopOver display source point.
leading
          Determines that WebPopOver should be displayed more to the leading side relative to invoker when possible.
trailing
          Determines that WebPopOver should be displayed more to the trailing side relative to invoker when possible.
 
Method Summary
static PopOverAlignment valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PopOverAlignment[] 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

leading

public static final PopOverAlignment leading
Determines that WebPopOver should be displayed more to the leading side relative to invoker when possible. This means that dropdown style corner will usually placed closer to right/bottom side of the WebPopOver.


centered

public static final PopOverAlignment centered
Determines that WebPopOver should be centered relative to WebPopOver display source point. This means that dropdown style corner will usually placed in the middle of the WebPopOver.


trailing

public static final PopOverAlignment trailing
Determines that WebPopOver should be displayed more to the trailing side relative to invoker when possible. This means that dropdown style corner will usually placed closer to left/top side of the WebPopOver.

Method Detail

values

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

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

valueOf

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