jPodRenderer PDF library

de.intarsys.pdf.platform.cwt.color.swt
Class SwtCSIndexed

java.lang.Object
  extended by de.intarsys.pdf.platform.cwt.color.swt.SwtColorSpace
      extended by de.intarsys.pdf.platform.cwt.color.swt.SwtCSSpecial
          extended by de.intarsys.pdf.platform.cwt.color.swt.SwtCSIndexed

public class SwtCSIndexed
extends SwtCSSpecial


Constructor Summary
SwtCSIndexed(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
           
 
Method Summary
 int getNumComponents()
           
 org.eclipse.swt.graphics.PaletteData getPalette(de.intarsys.pdf.pd.PDImage pdImage)
          return a corresponding swt palette for the image
 
Methods inherited from class de.intarsys.pdf.platform.cwt.color.swt.SwtColorSpace
getPDColorSpace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwtCSIndexed

public SwtCSIndexed(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
Method Detail

getNumComponents

public int getNumComponents()
Specified by:
getNumComponents in class SwtColorSpace

getPalette

public org.eclipse.swt.graphics.PaletteData getPalette(de.intarsys.pdf.pd.PDImage pdImage)
Description copied from class: SwtColorSpace
return a corresponding swt palette for the image

Specified by:
getPalette in class SwtColorSpace
Parameters:
pdImage - the image
Returns:
a corresponding swt palette

jPodRenderer PDF library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.