org.pentaho.reporting.libraries.fonts.awt

Class AWTFontFamily

public class AWTFontFamily extends Object implements FontFamily

Creation-Date: 16.12.2005, 20:44:11

Author: Thomas Morgner

Constructor Summary
AWTFontFamily(String fontName)
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

AWTFontFamily

public AWTFontFamily(String fontName)

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()