com.lowagie.text.pdf
Class PdfShadingDictionary

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

class PdfShadingDictionary
extends PdfDictionary
implements PdfResource

PdfShadingDictionary is a PdfResource, containing a dictionary of shadings.

Author:
Paulo Soares (psoares@consiste.pt)

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) PdfShadingDictionary()
          Constructs a new PdfPatternDictionary.
 
Method Summary
(package private)  boolean containsShading()
          Checks if the PdfPatternDictionary 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

PdfShadingDictionary

PdfShadingDictionary()
Constructs a new PdfPatternDictionary.

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

containsShading

boolean containsShading()
Checks if the PdfPatternDictionary contains at least one object.

Returns:
true if an object was found false otherwise