com.alee.managers.popup
Enum PopupStyle

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

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

This enumeration represents predefined available popup styles.

Author:
Mikle Garin
See Also:
PopupManager, WebPopup

Enum Constant Summary
bevel
          Popup with bevel border.
bordered
          Simple bordered popup.
dark
          Dark-colored popup.
gray
          Gray-colored popup.
grayDownTip
          Gray-colored tooltip-styled popup.
grayEtched
          Gray-colored popup with etched border.
graySmall
          Gray-colored popup with small border.
greenLarge
          Green-colored popup with large border.
light
          Light-colored popup.
lightSmall
          Light-colored popup with small border.
none
          Undecorated popup.
 
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

none

public static final PopupStyle none
Undecorated popup.


bordered

public static final PopupStyle bordered
Simple bordered popup.


light

public static final PopupStyle light
Light-colored popup.


lightSmall

public static final PopupStyle lightSmall
Light-colored popup with small border.


greenLarge

public static final PopupStyle greenLarge
Green-colored popup with large border.


bevel

public static final PopupStyle bevel
Popup with bevel border.


gray

public static final PopupStyle gray
Gray-colored popup.


graySmall

public static final PopupStyle graySmall
Gray-colored popup with small border.


grayEtched

public static final PopupStyle grayEtched
Gray-colored popup with etched border.


grayDownTip

public static final PopupStyle grayDownTip
Gray-colored tooltip-styled popup.


dark

public static final PopupStyle dark
Dark-colored popup.

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