org.apache.batik.gvt.font
Class  UnresolvedFontFamily
java.lang.Object
  |
  +--org.apache.batik.gvt.font.UnresolvedFontFamily
- All Implemented Interfaces: 
- GVTFontFamily
- public class UnresolvedFontFamily- extends java.lang.Object- implements GVTFontFamily
A font family class for unresolved fonts.
| Field Summary | 
| protected  java.lang.String | familyName
 | 
 
| Constructor Summary | 
| UnresolvedFontFamily(java.lang.String familyName)Constructs an UnresolvedFontFamily with the specified familyName.
 | 
 
| Method Summary | 
|  GVTFont | deriveFont(float size,
           java.text.AttributedCharacterIterator aci)Derives a GVTFont object of the correct size.
 | 
|  java.lang.String | getFamilyName()Returns the font family name.
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
familyName
protected java.lang.String familyName
UnresolvedFontFamily
public UnresolvedFontFamily(java.lang.String familyName)
- Constructs an UnresolvedFontFamily with the specified familyName.- 
- Parameters:
- familyName- The name of the font family.
 
getFamilyName
public java.lang.String getFamilyName()
- Returns the font family name.- 
- Specified by: 
- getFamilyNamein interface- GVTFontFamily
 
- 
- Returns:
- the family name.
 
deriveFont
public GVTFont deriveFont(float size,
                          java.text.AttributedCharacterIterator aci)
- Derives a GVTFont object of the correct size. As this font family is yet
 to be resolved this will always return null.- 
- Specified by: 
- deriveFontin interface- GVTFontFamily
 
- 
- Parameters:
- size- The required size of the derived font.
- aci- The character iterator that will be rendered using the derived
 font.
 
Copyright © 2002 Apache Software Foundation. All Rights Reserved.