org.apache.sanselan.palette
Class Palette

java.lang.Object
  extended by org.apache.sanselan.palette.Palette
Direct Known Subclasses:
QuantizedPalette, SimplePalette

public abstract class Palette
extends java.lang.Object


Constructor Summary
Palette()
           
 
Method Summary
 void dump()
           
abstract  int getEntry(int index)
           
abstract  int getPaletteIndex(int rgb)
           
abstract  int length()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Palette

public Palette()
Method Detail

getPaletteIndex

public abstract int getPaletteIndex(int rgb)
                             throws ImageWriteException
Throws:
ImageWriteException

getEntry

public abstract int getEntry(int index)

length

public abstract int length()

dump

public void dump()


Copyright © 2007-2009. All Rights Reserved.