| Modifier and Type | Class and Description |
|---|---|
| public static enum | HSSFColor.
Predefined HSSFColors with their given palette index (and an optional 2nd index) |
| Modifier and Type | Field and Description |
|---|---|
| private final Color | |
| private static Map | |
| private final int | |
| private final int | |
| private static Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static Map | |
| private static Map | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | Returns: a hex string exactly like a gnumeric tripletreturns colon-delimited hex string "0:0:0" |
| public short | |
| public short | Returns: alternative index to the standard palette, if -1 this index is not definedreturns alternative color standard palette index |
| public static synchronized Map | Returns: a Map containing all colours keyed byInteger excel-style palette indexesThis function returns all the colours in an unmodifiable Map. |
| public static Map | |
| public short[] | |
| public static Map | Returns: a Map containing all colors keyed by String gnumeric-like tripletsthis function returns all colors in a hastable. |
| public int | |
| private static synchronized Map | mapEnumToColorClass()
Maps the Enums to the HSSFColor, in cases of user code evaluating the classname |
| public static HSSFColor | Returns: the type casted colorthe color to type cast color)Checked type cast |
| color | back to summary |
|---|---|
| private final Color color | |
| enumList | back to summary |
|---|---|
| private static Map<HSSFColor. | |
| index | back to summary |
|---|---|
| private final int index | |
| index2 | back to summary |
|---|---|
| private final int index2 | |
| indexHash | back to summary |
|---|---|
| private static Map<Integer, HSSFColor> indexHash | |
| HSSFColor | back to summary |
|---|---|
| public HSSFColor() Creates a new instance of HSSFColor | |
| HSSFColor | back to summary |
|---|---|
| public HSSFColor(int index, int index2, Color color) | |
| addHSSFColorPredefined | back to summary |
|---|---|
| private static void addHSSFColorPredefined(HSSFColor. | |
| createColorsByHexStringMap | back to summary |
|---|---|
| private static Map | |
| createColorsByIndexMap | back to summary |
|---|---|
| private static Map | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getHexString | back to summary |
|---|---|
| public String getHexString() returns colon-delimited hex string "0:0:0"
| |
| getIndex | back to summary |
|---|---|
| public short getIndex() returns color standard palette index
| |
| getIndex2 | back to summary |
|---|---|
| public short getIndex2() returns alternative color standard palette index
| |
| getIndexHash | back to summary |
|---|---|
| public static synchronized Map This function returns all the colours in an unmodifiable Map. The map is cached on first use. | |
| getMutableIndexHash | back to summary |
|---|---|
| public static Map This function returns all the Colours, stored in a Map that
can be edited. No caching is performed. If you don't need to edit
the table, then call | |
| getTriplet | back to summary |
|---|---|
| public short[] getTriplet() returns RGB triplet (0, 0, 0)
| |
| getTripletHash | back to summary |
|---|---|
| public static Map this function returns all colors in a hastable. It's not implemented as a static member/statically initialized because that would be dirty in a server environment as it is intended. This means you'll eat the time it takes to create it once per request but you will not hold onto it if you have none of those requests. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| mapEnumToColorClass | back to summary |
|---|---|
| private static synchronized Map Maps the Enums to the HSSFColor, in cases of user code evaluating the classname | |
| toHSSFColor | back to summary |
|---|---|
| public static HSSFColor toHSSFColor(Color color) Checked type cast
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public HSSFColor | |
| public String | |
| public short | |
| public short | |
| public short[] | |
| public static HSSFColor. | |
| public static HSSFColor. |
| AQUA | back to summary |
|---|---|
| public static final HSSFColor. | |
| AUTOMATIC | back to summary |
|---|---|
| public static final HSSFColor. Special Default/Normal/Automatic color. Note This class is NOT in the default Map returned by HSSFColor. The index is a special case which is interpreted in the various setXXXColor calls. | |
| BLACK | back to summary |
|---|---|
| public static final HSSFColor. | |
| BLUE | back to summary |
|---|---|
| public static final HSSFColor. | |
| BLUE_GREY | back to summary |
|---|---|
| public static final HSSFColor. | |
| BRIGHT_GREEN | back to summary |
|---|---|
| public static final HSSFColor. | |
| BROWN | back to summary |
|---|---|
| public static final HSSFColor. | |
| color | back to summary |
|---|---|
| private final HSSFColor color | |
| CORAL | back to summary |
|---|---|
| public static final HSSFColor. | |
| CORNFLOWER_BLUE | back to summary |
|---|---|
| public static final HSSFColor. | |
| DARK_BLUE | back to summary |
|---|---|
| public static final HSSFColor. | |
| DARK_GREEN | back to summary |
|---|---|
| public static final HSSFColor. | |
| DARK_RED | back to summary |
|---|---|
| public static final HSSFColor. | |
| DARK_TEAL | back to summary |
|---|---|
| public static final HSSFColor. | |
| DARK_YELLOW | back to summary |
|---|---|
| public static final HSSFColor. | |
| GOLD | back to summary |
|---|---|
| public static final HSSFColor. | |
| GREEN | back to summary |
|---|---|
| public static final HSSFColor. | |
| GREY_25_PERCENT | back to summary |
|---|---|
| public static final HSSFColor. | |
| GREY_40_PERCENT | back to summary |
|---|---|
| public static final HSSFColor. | |
| GREY_50_PERCENT | back to summary |
|---|---|
| public static final HSSFColor. | |
| GREY_80_PERCENT | back to summary |
|---|---|
| public static final HSSFColor. | |
| INDIGO | back to summary |
|---|---|
| public static final HSSFColor. | |
| LAVENDER | back to summary |
|---|---|
| public static final HSSFColor. | |
| LEMON_CHIFFON | back to summary |
|---|---|
| public static final HSSFColor. | |
| LIGHT_BLUE | back to summary |
|---|---|
| public static final HSSFColor. | |
| LIGHT_CORNFLOWER_BLUE | back to summary |
|---|---|
| public static final HSSFColor. | |
| LIGHT_GREEN | back to summary |
|---|---|
| public static final HSSFColor. | |
| LIGHT_ORANGE | back to summary |
|---|---|
| public static final HSSFColor. | |
| LIGHT_TURQUOISE | back to summary |
|---|---|
| public static final HSSFColor. | |
| LIGHT_YELLOW | back to summary |
|---|---|
| public static final HSSFColor. | |
| LIME | back to summary |
|---|---|
| public static final HSSFColor. | |
| MAROON | back to summary |
|---|---|
| public static final HSSFColor. | |
| OLIVE_GREEN | back to summary |
|---|---|
| public static final HSSFColor. | |
| ORANGE | back to summary |
|---|---|
| public static final HSSFColor. | |
| ORCHID | back to summary |
|---|---|
| public static final HSSFColor. | |
| PALE_BLUE | back to summary |
|---|---|
| public static final HSSFColor. | |
| PINK | back to summary |
|---|---|
| public static final HSSFColor. | |
| PLUM | back to summary |
|---|---|
| public static final HSSFColor. | |
| RED | back to summary |
|---|---|
| public static final HSSFColor. | |
| ROSE | back to summary |
|---|---|
| public static final HSSFColor. | |
| ROYAL_BLUE | back to summary |
|---|---|
| public static final HSSFColor. | |
| SEA_GREEN | back to summary |
|---|---|
| public static final HSSFColor. | |
| SKY_BLUE | back to summary |
|---|---|
| public static final HSSFColor. | |
| TAN | back to summary |
|---|---|
| public static final HSSFColor. | |
| TEAL | back to summary |
|---|---|
| public static final HSSFColor. | |
| TURQUOISE | back to summary |
|---|---|
| public static final HSSFColor. | |
| VIOLET | back to summary |
|---|---|
| public static final HSSFColor. | |
| WHITE | back to summary |
|---|---|
| public static final HSSFColor. | |
| YELLOW | back to summary |
|---|---|
| public static final HSSFColor. | |
| HSSFColorPredefined | back to summary |
|---|---|
| private HSSFColorPredefined(int index, int index2, int rgb) | |
| getColor | back to summary |
|---|---|
public HSSFColor getColor()
| |
| getHexString | back to summary |
|---|---|
public String getHexString()
| |
| getIndex | back to summary |
|---|---|
public short getIndex()
| |
| getIndex2 | back to summary |
|---|---|
public short getIndex2()
| |
| getTriplet | back to summary |
|---|---|
public short[] getTriplet()
| |
| valueOf | back to summary |
|---|---|
| public static HSSFColor. | |
| values | back to summary |
|---|---|
| public static HSSFColor. | |