org.pentaho.reporting.libraries.fonts.merge
Class CompoundFontFamily

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.merge.CompoundFontFamily
All Implemented Interfaces:
java.io.Serializable, FontFamily

public class CompoundFontFamily
extends java.lang.Object
implements FontFamily

Creation-Date: 20.07.2007, 18:54:28

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
CompoundFontFamily(FontFamily base, FontRegistry registry)
           
 
Method Summary
 java.lang.String[] getAllNames()
           
 java.lang.String getFamilyName()
          Returns the name of the font family (in english).
 FontRecord getFontRecord(boolean bold, boolean italics)
          This selects the most suitable font in that family.
 FontRegistry getRegistry()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompoundFontFamily

public CompoundFontFamily(FontFamily base,
                          FontRegistry registry)
Method Detail

getRegistry

public FontRegistry getRegistry()

getFamilyName

public java.lang.String getFamilyName()
Description copied from interface: FontFamily
Returns the name of the font family (in english).

Specified by:
getFamilyName in interface FontFamily
Returns:

getAllNames

public java.lang.String[] getAllNames()
Specified by:
getAllNames in interface FontFamily

getFontRecord

public FontRecord getFontRecord(boolean bold,
                                boolean italics)
Description copied from interface: FontFamily
This selects the most suitable font in that family. Italics fonts are preferred over oblique fonts.

Specified by:
getFontRecord in interface FontFamily
Returns: