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 BLACKBLUE_0BLUE_1BLUE_2BLUE_3BLUE_4BROWN_0BROWN_1BROWN_2BROWN_3BROWN_4GREEN_0GREEN_1GREEN_2GREEN_3GREEN_4GREY_1GREY_2GREY_3NONEORANGE_0ORANGE_1ORANGE_2ORANGE_3ORANGE_4PURPLE_0PURPLE_1PURPLE_2PURPLE_3PURPLE_4RED_0RED_1RED_2RED_3RED_4TRANSPARENTWHITEYELLOW_0YELLOW_1YELLOW_2YELLOW_3YELLOW_4
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetHex()static ColorvalueOf(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
-
-