com.alee.managers.style.skin.web
Enum PopupStyle

java.lang.Object
  extended by java.lang.Enum<PopupStyle>
      extended by com.alee.managers.style.skin.web.PopupStyle
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PopupStyle>

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

This enumeration represents possible popup painter styles.

Author:
Mikle Garin

Enum Constant Summary
dropdown
          Dropdown popup style.
simple
          Simple popup style.
 
Method Summary
static PopupStyle valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PopupStyle[] 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

simple

public static final PopupStyle simple
Simple popup style.


dropdown

public static final PopupStyle dropdown
Dropdown popup style. Painter will paint an additional styled corner.

Method Detail

values

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

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

valueOf

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