Package org.kie.dmn.model.api.dmndi
Enum KnownColor
- java.lang.Object
-
- java.lang.Enum<KnownColor>
-
- org.kie.dmn.model.api.dmndi.KnownColor
-
- All Implemented Interfaces:
Serializable,Comparable<KnownColor>
public enum KnownColor extends Enum<KnownColor>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AQUAa color with a value of #00FFFFBLACKa color with a value of #000000BLUEa color with a value of #0000FFFUCHSIAa color with a value of #FF00FFGRAYa color with a value of #808080GREENa color with a value of #008000LIMEa color with a value of #00FF00MAROONa color with a value of #800000NAVYa color with a value of #000080OLIVEa color with a value of #808000ORANGEa color with a value of #FFA500PURPLEa color with a value of #800080REDa color with a value of #FF0000SILVERa color with a value of #C0C0C0TEALa color with a value of #008080WHITEa color with a value of #FFFFFFYELLOWa color with a value of #FFFF00
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KnownColorfromValue(String v)Stringvalue()static KnownColorvalueOf(String name)Returns the enum constant of this type with the specified name.static KnownColor[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAROON
public static final KnownColor MAROON
a color with a value of #800000
-
RED
public static final KnownColor RED
a color with a value of #FF0000
-
ORANGE
public static final KnownColor ORANGE
a color with a value of #FFA500
-
YELLOW
public static final KnownColor YELLOW
a color with a value of #FFFF00
-
OLIVE
public static final KnownColor OLIVE
a color with a value of #808000
-
PURPLE
public static final KnownColor PURPLE
a color with a value of #800080
-
FUCHSIA
public static final KnownColor FUCHSIA
a color with a value of #FF00FF
-
WHITE
public static final KnownColor WHITE
a color with a value of #FFFFFF
-
LIME
public static final KnownColor LIME
a color with a value of #00FF00
-
GREEN
public static final KnownColor GREEN
a color with a value of #008000
-
NAVY
public static final KnownColor NAVY
a color with a value of #000080
-
BLUE
public static final KnownColor BLUE
a color with a value of #0000FF
-
AQUA
public static final KnownColor AQUA
a color with a value of #00FFFF
-
TEAL
public static final KnownColor TEAL
a color with a value of #008080
-
BLACK
public static final KnownColor BLACK
a color with a value of #000000
-
SILVER
public static final KnownColor SILVER
a color with a value of #C0C0C0
-
GRAY
public static final KnownColor GRAY
a color with a value of #808080
-
-
Method Detail
-
values
public static KnownColor[] 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 (KnownColor c : KnownColor.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KnownColor 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
-
value
public String value()
-
fromValue
public static KnownColor fromValue(String v)
-
-