Package org.opencms.gwt.client.ui
Enum I_CmsButton.ButtonColor
- java.lang.Object
-
- java.lang.Enum<I_CmsButton.ButtonColor>
-
- org.opencms.gwt.client.ui.I_CmsButton.ButtonColor
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<I_CmsButton.ButtonColor>
- Enclosing interface:
- I_CmsButton
public static enum I_CmsButton.ButtonColor extends java.lang.Enum<I_CmsButton.ButtonColor>
Available button colors.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getClassName()
Returns the additional classes.static I_CmsButton.ButtonColor
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static I_CmsButton.ButtonColor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLUE
public static final I_CmsButton.ButtonColor BLUE
Button color.
-
GRAY
public static final I_CmsButton.ButtonColor GRAY
Button color.
-
GREEN
public static final I_CmsButton.ButtonColor GREEN
Button color.
-
RED
public static final I_CmsButton.ButtonColor RED
Button color.
-
-
Method Detail
-
values
public static I_CmsButton.ButtonColor[] 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 (I_CmsButton.ButtonColor c : I_CmsButton.ButtonColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static I_CmsButton.ButtonColor 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 namejava.lang.NullPointerException
- if the argument is null
-
getClassName
public java.lang.String getClassName()
Returns the additional classes.- Returns:
- the additional classes
-
-