Top Description Fields Constructors Methods
org.apache.poi.ss.usermodel

public final Enum IndexedColors

extends Enum<IndexedColors>
Class Inheritance

A deprecated indexing scheme for colours that is still required for some records, and for backwards compatibility with OLE2 formats.

Each element corresponds to a color index (zero-based). When using the default indexed color palette, the values are not written out, but instead are implied. When the color palette has been modified from default, then the entire color palette is used.

Field Summary

Modifier and TypeField and Description
private static final IndexedColors[]
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public final short
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors
public static final IndexedColors

Constructor Summary

AccessConstructor and Description
private
IndexedColors(int idx)

Method Summary

Modifier and TypeMethod and Description
public static IndexedColors

Returns:

the corresponding IndexedColors enum
fromInt
(int
the index of the color
index
)

public short

Returns:

index of this color
getIndex
()

Returns index of this color

public static IndexedColors
public static IndexedColors[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

_valuesback to summary
private static final IndexedColors[] _values
AQUAback to summary
public static final IndexedColors AQUA
AUTOMATICback to summary
public static final IndexedColors AUTOMATIC
BLACKback to summary
public static final IndexedColors BLACK
BLACK1back to summary
public static final IndexedColors BLACK1
BLUEback to summary
public static final IndexedColors BLUE
BLUE1back to summary
public static final IndexedColors BLUE1
BLUE_GREYback to summary
public static final IndexedColors BLUE_GREY
BRIGHT_GREENback to summary
public static final IndexedColors BRIGHT_GREEN
BRIGHT_GREEN1back to summary
public static final IndexedColors BRIGHT_GREEN1
BROWNback to summary
public static final IndexedColors BROWN
CORALback to summary
public static final IndexedColors CORAL
CORNFLOWER_BLUEback to summary
public static final IndexedColors CORNFLOWER_BLUE
DARK_BLUEback to summary
public static final IndexedColors DARK_BLUE
DARK_GREENback to summary
public static final IndexedColors DARK_GREEN
DARK_REDback to summary
public static final IndexedColors DARK_RED
DARK_TEALback to summary
public static final IndexedColors DARK_TEAL
DARK_YELLOWback to summary
public static final IndexedColors DARK_YELLOW
GOLDback to summary
public static final IndexedColors GOLD
GREENback to summary
public static final IndexedColors GREEN
GREY_25_PERCENTback to summary
public static final IndexedColors GREY_25_PERCENT
GREY_40_PERCENTback to summary
public static final IndexedColors GREY_40_PERCENT
GREY_50_PERCENTback to summary
public static final IndexedColors GREY_50_PERCENT
GREY_80_PERCENTback to summary
public static final IndexedColors GREY_80_PERCENT
indexback to summary
public final short index
INDIGOback to summary
public static final IndexedColors INDIGO
LAVENDERback to summary
public static final IndexedColors LAVENDER
LEMON_CHIFFONback to summary
public static final IndexedColors LEMON_CHIFFON
LIGHT_BLUEback to summary
public static final IndexedColors LIGHT_BLUE
LIGHT_CORNFLOWER_BLUEback to summary
public static final IndexedColors LIGHT_CORNFLOWER_BLUE
LIGHT_GREENback to summary
public static final IndexedColors LIGHT_GREEN
LIGHT_ORANGEback to summary
public static final IndexedColors LIGHT_ORANGE
LIGHT_TURQUOISEback to summary
public static final IndexedColors LIGHT_TURQUOISE
LIGHT_TURQUOISE1back to summary
public static final IndexedColors LIGHT_TURQUOISE1
LIGHT_YELLOWback to summary
public static final IndexedColors LIGHT_YELLOW
LIMEback to summary
public static final IndexedColors LIME
MAROONback to summary
public static final IndexedColors MAROON
OLIVE_GREENback to summary
public static final IndexedColors OLIVE_GREEN
ORANGEback to summary
public static final IndexedColors ORANGE
ORCHIDback to summary
public static final IndexedColors ORCHID
PALE_BLUEback to summary
public static final IndexedColors PALE_BLUE
PINKback to summary
public static final IndexedColors PINK
PINK1back to summary
public static final IndexedColors PINK1
PLUMback to summary
public static final IndexedColors PLUM
REDback to summary
public static final IndexedColors RED
RED1back to summary
public static final IndexedColors RED1
ROSEback to summary
public static final IndexedColors ROSE
ROYAL_BLUEback to summary
public static final IndexedColors ROYAL_BLUE
SEA_GREENback to summary
public static final IndexedColors SEA_GREEN
SKY_BLUEback to summary
public static final IndexedColors SKY_BLUE
TANback to summary
public static final IndexedColors TAN
TEALback to summary
public static final IndexedColors TEAL
TURQUOISEback to summary
public static final IndexedColors TURQUOISE
TURQUOISE1back to summary
public static final IndexedColors TURQUOISE1
VIOLETback to summary
public static final IndexedColors VIOLET
WHITEback to summary
public static final IndexedColors WHITE
WHITE1back to summary
public static final IndexedColors WHITE1
YELLOWback to summary
public static final IndexedColors YELLOW
YELLOW1back to summary
public static final IndexedColors YELLOW1

Constructor Detail

IndexedColorsback to summary
private IndexedColors(int idx)

Method Detail

fromIntback to summary
public static IndexedColors fromInt(int index)
Parameters
index:int

the index of the color

Returns:IndexedColors

the corresponding IndexedColors enum

Exceptions
IllegalArgumentException:
if index is not a valid IndexedColors
Since
3.15-beta2
getIndexback to summary
public short getIndex()

Returns index of this color

Returns:short

index of this color

valueOfback to summary
public static IndexedColors valueOf(String name)
valuesback to summary
public static IndexedColors[] values()