public enum TagColor extends Enum<TagColor>
| Modifier and Type | Method and Description |
|---|---|
String |
getCSS() |
static TagColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TagColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagColor GREEN
public static final TagColor BLUE
public static final TagColor ORANGE
public static final TagColor RED
public static TagColor[] values()
for (TagColor c : TagColor.values()) System.out.println(c);
public static TagColor valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getCSS()
Copyright © 2014 Cinovo AG. All Rights Reserved.