intarsys PDF library API

de.intarsys.pdf.pd
Class PDColorSpace

java.lang.Object
  extended by de.intarsys.pdf.cos.COSBasedObject
      extended by de.intarsys.pdf.pd.PDObject
          extended by de.intarsys.pdf.pd.PDColorSpace
All Implemented Interfaces:
ICOSObjectListener, IAttributeSupport
Direct Known Subclasses:
PDCSCIEBased, PDCSDevice, PDCSSpecial

public abstract class PDColorSpace
extends PDObject

An abstract superclass for all color spaces.


Nested Class Summary
static class PDColorSpace.MetaClass
          The meta class implementation
 
Field Summary
static COSName CN_CS_CalGray
           
static COSName CN_CS_CalRGB
           
static COSName CN_CS_CMYK
           
static COSName CN_CS_DeviceCMYK
           
static COSName CN_CS_DeviceGray
           
static COSName CN_CS_DeviceN
           
static COSName CN_CS_DeviceRGB
           
static COSName CN_CS_G
           
static COSName CN_CS_I
           
static COSName CN_CS_ICCBased
           
static COSName CN_CS_Indexed
           
static COSName CN_CS_Lab
           
static COSName CN_CS_Pattern
           
static COSName CN_CS_RGB
           
static COSName CN_CS_Separation
           
static PDColorSpace.MetaClass META
          The meta class instance
 
Fields inherited from class de.intarsys.pdf.pd.PDObject
DK_Subtype, DK_Type
 
Method Summary
 Object getCachedColorSpace()
           
static PDColorSpace getNamed(COSName name)
           
static PDColorSpace getSingleton(COSName name)
          return the singleton color space instance corresponding to the given name
 void invalidateCaches()
          Invalidate all local caches as the base object may have changed.
 void setCachedColorSpace(Object paramColorSpace)
           
 
Methods inherited from class de.intarsys.pdf.pd.PDObject
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString
 
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CN_CS_CalGray

public static final COSName CN_CS_CalGray

CN_CS_CalRGB

public static final COSName CN_CS_CalRGB

CN_CS_CMYK

public static final COSName CN_CS_CMYK

CN_CS_DeviceCMYK

public static final COSName CN_CS_DeviceCMYK

CN_CS_DeviceGray

public static final COSName CN_CS_DeviceGray

CN_CS_DeviceN

public static final COSName CN_CS_DeviceN

CN_CS_DeviceRGB

public static final COSName CN_CS_DeviceRGB

CN_CS_G

public static final COSName CN_CS_G

CN_CS_ICCBased

public static final COSName CN_CS_ICCBased

CN_CS_Indexed

public static final COSName CN_CS_Indexed

CN_CS_I

public static final COSName CN_CS_I

CN_CS_Lab

public static final COSName CN_CS_Lab

CN_CS_Pattern

public static final COSName CN_CS_Pattern

CN_CS_RGB

public static final COSName CN_CS_RGB

CN_CS_Separation

public static final COSName CN_CS_Separation

META

public static final PDColorSpace.MetaClass META
The meta class instance

Method Detail

getNamed

public static PDColorSpace getNamed(COSName name)

getSingleton

public static PDColorSpace getSingleton(COSName name)
return the singleton color space instance corresponding to the given name

Parameters:
name - must be one of the predefined color space names
Returns:
return the singleton color space instance corresponding to the given name

getCachedColorSpace

public Object getCachedColorSpace()

invalidateCaches

public void invalidateCaches()
Description copied from class: COSBasedObject
Invalidate all local caches as the base object may have changed.

Overrides:
invalidateCaches in class COSBasedObject

setCachedColorSpace

public void setCachedColorSpace(Object paramColorSpace)

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.