java.io.Serializable
, FontFamily
public class AWTFontFamily extends java.lang.Object implements FontFamily
Constructor | Description |
---|---|
AWTFontFamily(java.lang.String fontName) |
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() |
public java.lang.String getFamilyName()
getFamilyName
in interface FontFamily
public java.lang.String[] getAllNames()
getAllNames
in interface FontFamily
public FontRecord getFontRecord(boolean bold, boolean italics)
getFontRecord
in interface FontFamily
bold
- italics
- public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object