org.pentaho.reporting.libraries.fonts.monospace

Class MonospaceFontFamily

public class MonospaceFontFamily extends Object implements FontFamily

Creation-Date: 13.05.2007, 13:14:25

Author: Thomas Morgner

Constructor Summary
MonospaceFontFamily(String familyName)
Method Summary
booleanequals(Object o)
String[]getAllNames()
StringgetFamilyName()
Returns the name of the font family (in english).
FontRecordgetFontRecord(boolean bold, boolean italics)
This selects the most suitable font in that family.
inthashCode()

Constructor Detail

MonospaceFontFamily

public MonospaceFontFamily(String familyName)

Method Detail

equals

public boolean equals(Object o)

getAllNames

public String[] getAllNames()

getFamilyName

public String getFamilyName()
Returns the name of the font family (in english).

Returns:

getFontRecord

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

Parameters: bold italics

Returns:

hashCode

public int hashCode()