org.nuxeo.theme.webwidgets
Enum WidgetState
java.lang.Object
java.lang.Enum<WidgetState>
org.nuxeo.theme.webwidgets.WidgetState
- All Implemented Interfaces:
- Serializable, Comparable<WidgetState>
public enum WidgetState
- extends Enum<WidgetState>
DEFAULT
public static final WidgetState DEFAULT
SHADED
public static final WidgetState SHADED
values
public static WidgetState[] 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 (WidgetState c : WidgetState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WidgetState 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 name
NullPointerException
- if the argument is null
getName
public String getName()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.