Package org.apache.poi.xssf.usermodel
Class DefaultIndexedColorMap
- java.lang.Object
-
- org.apache.poi.xssf.usermodel.DefaultIndexedColorMap
-
- All Implemented Interfaces:
IndexedColorMap
public class DefaultIndexedColorMap extends Object implements IndexedColorMap
Uses the legacy colors defined in HSSF for index lookups
-
-
Constructor Summary
Constructors Constructor Description DefaultIndexedColorMap()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static byte[]
getDefaultRGB(int index)
byte[]
getRGB(int index)
-
-
-
Method Detail
-
getRGB
public byte[] getRGB(int index)
- Specified by:
getRGB
in interfaceIndexedColorMap
- Parameters:
index
- color index to look up- Returns:
- the RGB array for the index, or null if the index is invalid/undefined
- See Also:
IndexedColorMap.getRGB(int)
-
getDefaultRGB
public static byte[] getDefaultRGB(int index)
- Parameters:
index
-- Returns:
- RGB bytes from HSSF default color by index
-
-