com.vaadin.ui.
Enum AbstractColorPicker.PopupStyle
- java.lang.Object
-
- java.lang.Enum<AbstractColorPicker.PopupStyle>
-
- com.vaadin.ui.AbstractColorPicker.PopupStyle
-
All Implemented Interfaces:
Enclosing class:
public static enum AbstractColorPicker.PopupStyle extends Enum<AbstractColorPicker.PopupStyle>
The style of the color picker popup.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description POPUP_NORMAL
A full popup with all tabs visible.
POPUP_SIMPLE
A simple popup with only the swatches (palette) tab.
-
Method Summary
All Methods Modifier and Type Method Description String
toString()
static AbstractColorPicker.PopupStyle
valueOf​(String name)
Returns the enum constant of this type with the specified name.
static AbstractColorPicker.PopupStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POPUP_NORMAL
public static final AbstractColorPicker.PopupStyle POPUP_NORMAL
A full popup with all tabs visible.
-
POPUP_SIMPLE
public static final AbstractColorPicker.PopupStyle POPUP_SIMPLE
A simple popup with only the swatches (palette) tab.
-
-
Method Detail
-
values
public static AbstractColorPicker.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 (AbstractColorPicker.PopupStyle c : AbstractColorPicker.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 AbstractColorPicker.PopupStyle valueOf​(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
Overrides:
toString
in classEnum<AbstractColorPicker.PopupStyle>
-
-