public class CompoundFontIdentifier extends Object implements FontIdentifier
| Constructor and Description |
|---|
CompoundFontIdentifier(FontIdentifier identifier,
FontRegistry registry,
boolean boldSpecified,
boolean italicsSpecified) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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(Object o)
equals in interface FontIdentifierequals in class Objectpublic int hashCode()
hashCode in interface FontIdentifierhashCode in class Objectpublic boolean isScalable()
FontIdentifierisScalable in interface FontIdentifierpublic FontType getFontType()
FontIdentifiergetFontType in interface FontIdentifierpublic FontRegistry getRegistry()