de.intarsys.cwt.font
public class FontQuery extends java.lang.Object implements IFontQuery
Constructor and Description |
---|
FontQuery() |
FontQuery(java.lang.String fontName) |
FontQuery(java.lang.String family,
FontStyle style) |
FontQuery(java.lang.String family,
java.lang.String style) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFontFamilyName()
The desired font family for the
IFont . |
java.lang.String |
getFontName()
The desired font name for the
IFont . |
java.lang.Object |
getFontNameCanonical()
The desired font name for the
IFont . |
FontStyle |
getFontStyle()
The desired font style for the
IFont . |
java.lang.String |
getFontType()
The desired font type for the
IFont (such as "Type1" or
"TrueType"). |
void |
setFontFamilyName(java.lang.String fontFamilyName) |
void |
setFontName(java.lang.String fontName) |
void |
setFontStyle(FontStyle fontStyle) |
void |
setFontType(java.lang.String fontType) |
public FontQuery()
public FontQuery(java.lang.String fontName)
public FontQuery(java.lang.String family, FontStyle style)
public FontQuery(java.lang.String family, java.lang.String style)
public java.lang.String getFontFamilyName()
IFontQuery
IFont
.getFontFamilyName
in interface IFontQuery
IFont
.public java.lang.String getFontName()
IFontQuery
IFont
.getFontName
in interface IFontQuery
IFont
.public java.lang.Object getFontNameCanonical()
IFontQuery
IFont
.getFontNameCanonical
in interface IFontQuery
IFont
.public FontStyle getFontStyle()
IFontQuery
IFont
.getFontStyle
in interface IFontQuery
IFont
.public java.lang.String getFontType()
IFontQuery
IFont
(such as "Type1" or
"TrueType"). null
indicates a font of any type.getFontType
in interface IFontQuery
IFont
.public void setFontFamilyName(java.lang.String fontFamilyName)
public void setFontName(java.lang.String fontName)
public void setFontStyle(FontStyle fontStyle)
public void setFontType(java.lang.String fontType)