de.betabeans.scroogexhtml.rtf
Class FontTable

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by de.betabeans.scroogexhtml.rtf.FontTable
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public final class FontTable
extends java.util.HashMap

Contains a list of fonts which are defined in the RTF header.

Author:
Michael Justin
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
FontTable()
           
 
Method Summary
 FontDescriptor getFont(java.lang.Integer index)
          Gets the font attribute of the FontTable object.
 void putFont(java.lang.Integer value, FontDescriptor font)
          Add a font to the font table.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

FontTable

public FontTable()
Method Detail

getFont

public FontDescriptor getFont(java.lang.Integer index)
Gets the font attribute of the FontTable object.

Parameters:
index - The font number.
Returns:
The FontDescriptor object.

putFont

public void putFont(java.lang.Integer value,
                    FontDescriptor font)
Add a font to the font table.

Parameters:
value - Font number.
font - Font Descriptor.


Copyright (c) 1998-2006 BetaSoft Michael Justin. All Rights Reserved.