public class CompoundFontIdentifier extends java.lang.Object implements FontIdentifier
| Constructor and Description |
|---|
CompoundFontIdentifier(FontIdentifier identifier,
FontRegistry registry,
boolean boldSpecified,
boolean italicsSpecified) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
FontType |
getFontType()
Returns the general type of this font identifier.
|
FontIdentifier |
getIdentifier() |
FontRegistry |
getRegistry() |
int |
hashCode() |
boolean |
isBoldSpecified() |
boolean |
isItalicsSpecified() |
boolean |
isScalable()
Defines, whether the font identifier represents a scalable font type.
|
public CompoundFontIdentifier(FontIdentifier identifier, FontRegistry registry, boolean boldSpecified, boolean italicsSpecified)
public FontIdentifier getIdentifier()
public boolean isBoldSpecified()
public boolean isItalicsSpecified()
public boolean equals(java.lang.Object o)
equals in interface FontIdentifierequals in class java.lang.Objectpublic int hashCode()
hashCode in interface FontIdentifierhashCode in class java.lang.Objectpublic boolean isScalable()
FontIdentifierisScalable in interface FontIdentifierpublic FontType getFontType()
FontIdentifiergetFontType in interface FontIdentifierpublic FontRegistry getRegistry()