org.pentaho.reporting.libraries.fonts.registry
Class DefaultFontStorage

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.registry.DefaultFontStorage
All Implemented Interfaces:
FontStorage

public class DefaultFontStorage
extends java.lang.Object
implements FontStorage

Creation-Date: 15.12.2005, 18:07:53

Author:
Thomas Morgner

Constructor Summary
DefaultFontStorage(FontRegistry registry)
           
 
Method Summary
 void commit()
          Mark the processing to be finished; commit any caches to the global storage, if applicable, clean up and return into a sane state.
 FontMetrics getFontMetrics(FontIdentifier record, FontContext context)
           
 FontRegistry getFontRegistry()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFontStorage

public DefaultFontStorage(FontRegistry registry)
Method Detail

getFontRegistry

public FontRegistry getFontRegistry()
Specified by:
getFontRegistry in interface FontStorage

getFontMetrics

public FontMetrics getFontMetrics(FontIdentifier record,
                                  FontContext context)
Specified by:
getFontMetrics in interface FontStorage

commit

public void commit()
Description copied from interface: FontStorage
Mark the processing to be finished; commit any caches to the global storage, if applicable, clean up and return into a sane state.

Specified by:
commit in interface FontStorage