com.lowagie.text.pdf
Class PdfColorDictionary

java.lang.Object
  |
  +--com.lowagie.text.pdf.PdfObject
        |
        +--com.lowagie.text.pdf.PdfDictionary
              |
              +--com.lowagie.text.pdf.PdfColorDictionary
All Implemented Interfaces:
PdfResource

class PdfColorDictionary
extends PdfDictionary
implements PdfResource

$Id: PdfColorDictionary.java,v 1.16 2003/03/25 11:22:58 blowagie Exp $ PdfColorDictionary is a PdfResource, containing a dictionary of PdfSpotColors. at the moment

See Also:
PdfResource, PdfResources

Field Summary
 
Fields inherited from class com.lowagie.text.pdf.PdfDictionary
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGES
 
Fields inherited from class com.lowagie.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type
 
Constructor Summary
(package private) PdfColorDictionary()
          Constructs a new PdfColorDictionary.
 
Method Summary
(package private)  boolean containsColorSpace()
          Checks if the PdfColorDictionary contains at least one object.
 PdfName key()
          Returns the name of a resource.
 PdfObject value()
          Returns the object that represents the resource.
 
Methods inherited from class com.lowagie.text.pdf.PdfDictionary
get, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, toPdf
 
Methods inherited from class com.lowagie.text.pdf.PdfObject
getBytes, isArray, isBoolean, isDictionary, isName, isNull, isNumber, isStream, isString, length, setContent, toString, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfColorDictionary

PdfColorDictionary()
Constructs a new PdfColorDictionary.

Method Detail

key

public PdfName key()
Returns the name of a resource.

Specified by:
key in interface PdfResource
Returns:
a PdfName.

value

public PdfObject value()
Returns the object that represents the resource.

Specified by:
value in interface PdfResource
Returns:
a PdfObject

containsColorSpace

boolean containsColorSpace()
Checks if the PdfColorDictionary contains at least one object.

Returns:
true if an object was found false otherwise