Package com.smartsheet.api.models.format
Enum Color
- java.lang.Object
-
- java.lang.Enum<Color>
-
- com.smartsheet.api.models.format.Color
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLACK
BLUE_0
BLUE_1
BLUE_2
BLUE_3
BLUE_4
BROWN_0
BROWN_1
BROWN_2
BROWN_3
BROWN_4
GREEN_0
GREEN_1
GREEN_2
GREEN_3
GREEN_4
GREY_1
GREY_2
GREY_3
NONE
ORANGE_0
ORANGE_1
ORANGE_2
ORANGE_3
ORANGE_4
PURPLE_0
PURPLE_1
PURPLE_2
PURPLE_3
PURPLE_4
RED_0
RED_1
RED_2
RED_3
RED_4
TRANSPARENT
WHITE
YELLOW_0
YELLOW_1
YELLOW_2
YELLOW_3
YELLOW_4
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHex()
static Color
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Color[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Color NONE
-
BLACK
public static final Color BLACK
-
WHITE
public static final Color WHITE
-
TRANSPARENT
public static final Color TRANSPARENT
-
RED_0
public static final Color RED_0
-
ORANGE_0
public static final Color ORANGE_0
-
YELLOW_0
public static final Color YELLOW_0
-
GREEN_0
public static final Color GREEN_0
-
BLUE_0
public static final Color BLUE_0
-
PURPLE_0
public static final Color PURPLE_0
-
BROWN_0
public static final Color BROWN_0
-
RED_1
public static final Color RED_1
-
ORANGE_1
public static final Color ORANGE_1
-
YELLOW_1
public static final Color YELLOW_1
-
GREEN_1
public static final Color GREEN_1
-
BLUE_1
public static final Color BLUE_1
-
PURPLE_1
public static final Color PURPLE_1
-
BROWN_1
public static final Color BROWN_1
-
GREY_1
public static final Color GREY_1
-
RED_2
public static final Color RED_2
-
ORANGE_2
public static final Color ORANGE_2
-
YELLOW_2
public static final Color YELLOW_2
-
GREEN_2
public static final Color GREEN_2
-
BLUE_2
public static final Color BLUE_2
-
PURPLE_2
public static final Color PURPLE_2
-
BROWN_2
public static final Color BROWN_2
-
GREY_2
public static final Color GREY_2
-
RED_3
public static final Color RED_3
-
ORANGE_3
public static final Color ORANGE_3
-
YELLOW_3
public static final Color YELLOW_3
-
GREEN_3
public static final Color GREEN_3
-
BLUE_3
public static final Color BLUE_3
-
PURPLE_3
public static final Color PURPLE_3
-
BROWN_3
public static final Color BROWN_3
-
GREY_3
public static final Color GREY_3
-
RED_4
public static final Color RED_4
-
ORANGE_4
public static final Color ORANGE_4
-
YELLOW_4
public static final Color YELLOW_4
-
GREEN_4
public static final Color GREEN_4
-
BLUE_4
public static final Color BLUE_4
-
PURPLE_4
public static final Color PURPLE_4
-
BROWN_4
public static final Color BROWN_4
-
-
Field Detail
-
DEFAULT
public static final Color DEFAULT
-
-
Method Detail
-
values
public static Color[] 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 (Color c : Color.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Color 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
-
getHex
public java.lang.String getHex()
- Returns:
- the hex
-
-