Package org.gdal.gdal

## Class ColorTable

- java.lang.Object
- - org.gdal.gdal.ColorTable

- All Implemented Interfaces:
    `java.lang.Cloneable`

      public class ColorTable
      extends java.lang.Object
      implements java.lang.Cloneable

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ColorTable​()` |
    `ColorTable​(int palette)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.Object` | `clone​()` |
    `ColorTable` | `Clone​()` |
    `void` | `CreateColorRamp​(int nStartIndex, java.awt.Color startcolor, int nEndIndex, java.awt.Color endcolor)` |
    `void` | `delete​()` |
    `java.awt.Color` | `GetColorEntry​(int entry)` |
    `int` | `GetCount​()` |
    `java.awt.image.IndexColorModel` | `getIndexColorModel​(int bits)` |
    `int` | `GetPaletteInterpretation​()` |
    `void` | `SetColorEntry​(int entry, java.awt.Color centry)` |

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ColorTable

          public ColorTable​(int palette)

    - #### ColorTable

          public ColorTable​()

  - ### Method Detail

    - #### delete

          public void delete​()

    - #### clone

          public java.lang.Object clone​()

      Overrides:
        `clone` in class `java.lang.Object`

    - #### getIndexColorModel

          public java.awt.image.IndexColorModel getIndexColorModel​(int bits)

    - #### Clone

          public ColorTable Clone​()

    - #### GetPaletteInterpretation

          public int GetPaletteInterpretation​()

    - #### GetCount

          public int GetCount​()

    - #### GetColorEntry

          public java.awt.Color GetColorEntry​(int entry)

    - #### SetColorEntry

          public void SetColorEntry​(int entry,
                                    java.awt.Color centry)

    - #### CreateColorRamp

          public void CreateColorRamp​(int nStartIndex,
                                      java.awt.Color startcolor,
                                      int nEndIndex,
                                      java.awt.Color endcolor)