jPodRenderer PDF library

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

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.SwtCSDeviceN

public class SwtCSDeviceN
extends SwtCSSpecial


Constructor Summary
SwtCSDeviceN(de.intarsys.pdf.pd.PDColorSpace pdColorSpace)
           
 
Method Summary
 int getColorSpaceNumComponents()
           
 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

SwtCSDeviceN

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

getColorSpaceNumComponents

public int getColorSpaceNumComponents()

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.