PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.contents
Class FontResources

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
      extended by it.stefanochizzolini.clown.documents.contents.FontResources
All Implemented Interfaces:
Map<PdfName,Font>

public class FontResources
extends PdfObjectWrapper<PdfDictionary>
implements Map<PdfName,Font>

Font resources collection [PDF:1.6:3.7.2].

Version:
0.0.7
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
FontResources(Document context)
           
 
Method Summary
 void clear()
           
 FontResources clone(Document context)
          Gets a clone of the object, registered inside the given document context.
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<PdfName,Font>> entrySet()
           
 boolean equals(PdfDirectObject object)
           
 Font get(Object key)
           
 PdfName getKey(Font value)
          Gets the key associated to a given value.
 int hashCode()
           
 boolean isEmpty()
           
 Set<PdfName> keySet()
           
 Font put(PdfName key, Font value)
           
 void putAll(Map<? extends PdfName,? extends Font> entries)
           
 Font remove(Object key)
           
 int size()
           
 Collection<Font> values()
           
 
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals
 

Constructor Detail

FontResources

public FontResources(Document context)
Method Detail

clone

public FontResources clone(Document context)
Description copied from class: PdfObjectWrapper
Gets a clone of the object, registered inside the given document context.

Specified by:
clone in class PdfObjectWrapper<PdfDictionary>
Parameters:
context - Which document the clone has to be registered in.

getKey

public PdfName getKey(Font value)
Gets the key associated to a given value.


clear

public void clear()
Specified by:
clear in interface Map<PdfName,Font>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<PdfName,Font>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<PdfName,Font>

entrySet

public Set<Map.Entry<PdfName,Font>> entrySet()
Specified by:
entrySet in interface Map<PdfName,Font>

equals

public boolean equals(PdfDirectObject object)

get

public Font get(Object key)
Specified by:
get in interface Map<PdfName,Font>

hashCode

public int hashCode()
Specified by:
hashCode in interface Map<PdfName,Font>
Overrides:
hashCode in class Object

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<PdfName,Font>

keySet

public Set<PdfName> keySet()
Specified by:
keySet in interface Map<PdfName,Font>

put

public Font put(PdfName key,
                Font value)
Specified by:
put in interface Map<PdfName,Font>

putAll

public void putAll(Map<? extends PdfName,? extends Font> entries)
Specified by:
putAll in interface Map<PdfName,Font>

remove

public Font remove(Object key)
Specified by:
remove in interface Map<PdfName,Font>

size

public int size()
Specified by:
size in interface Map<PdfName,Font>

values

public Collection<Font> values()
Specified by:
values in interface Map<PdfName,Font>

PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.