Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.xssf.usermodel
Class DefaultIndexedColorMap

    java.lang.Object
      org.apache.poi.xssf.usermodel.DefaultIndexedColorMap

All Implemented Interfaces:
  IndexedColorMap

    public class DefaultIndexedColorMap

extends java.lang.Object
implements IndexedColorMap

Uses the legacy colors defined in HSSF for index lookups

Constructor Summary
`DefaultIndexedColorMap()`

Method Summary
`static byte[]` | `getDefaultRGB(int index)`
`byte[]` | `getRGB(int index)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DefaultIndexedColorMap

    public DefaultIndexedColorMap()

Method Detail

### getRGB

    public byte[] getRGB(int index)

  Specified by:
    `getRGB` in interface `IndexedColorMap`
  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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.