Class DefaultFontFamily
- java.lang.Object
-
- org.pentaho.reporting.libraries.fonts.registry.DefaultFontFamily
-
- All Implemented Interfaces:
Serializable
,FontFamily
public class DefaultFontFamily extends Object implements FontFamily
Creation-Date: 07.11.2005, 19:45:50- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultFontFamily(String familyName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFontRecord(FontRecord record)
void
addName(String name)
boolean
equals(Object o)
String[]
getAllNames()
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.int
hashCode()
-
-
-
Constructor Detail
-
DefaultFontFamily
public DefaultFontFamily(String familyName)
-
-
Method Detail
-
getFamilyName
public String getFamilyName()
Description copied from interface:FontFamily
Returns the name of the font family (in english).- Specified by:
getFamilyName
in interfaceFontFamily
- Returns:
-
addName
public void addName(String name)
-
getAllNames
public String[] getAllNames()
- Specified by:
getAllNames
in interfaceFontFamily
-
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 interfaceFontFamily
- Returns:
-
addFontRecord
public void addFontRecord(FontRecord record)
-
-