Class MonospaceFontFamily
- java.lang.Object
-
- org.pentaho.reporting.libraries.fonts.monospace.MonospaceFontFamily
-
- All Implemented Interfaces:
java.io.Serializable
,FontFamily
public class MonospaceFontFamily extends java.lang.Object implements FontFamily
Creation-Date: 13.05.2007, 13:14:25- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MonospaceFontFamily(java.lang.String familyName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String[]
getAllNames()
java.lang.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()
-
-
-
Method Detail
-
getFamilyName
public java.lang.String getFamilyName()
Returns the name of the font family (in english).- Specified by:
getFamilyName
in interfaceFontFamily
- Returns:
-
getAllNames
public java.lang.String[] getAllNames()
- Specified by:
getAllNames
in interfaceFontFamily
-
getFontRecord
public FontRecord getFontRecord(boolean bold, boolean italics)
This selects the most suitable font in that family. Italics fonts are preferred over oblique fonts.- Specified by:
getFontRecord
in interfaceFontFamily
- Parameters:
bold
-italics
-- Returns:
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-