Package de.intarsys.cwt.font
Class FontQuery
- java.lang.Object
-
- de.intarsys.cwt.font.FontQuery
-
- All Implemented Interfaces:
IFontQuery
public class FontQuery extends java.lang.Object implements IFontQuery
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFontFamilyName()
The desired font family for theIFont
.java.lang.String
getFontName()
The desired font name for theIFont
.java.lang.Object
getFontNameCanonical()
The desired font name for theIFont
.FontStyle
getFontStyle()
The desired font style for theIFont
.java.lang.String
getFontType()
The desired font type for theIFont
(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)
-
-
-
Constructor Detail
-
FontQuery
public FontQuery()
-
FontQuery
public FontQuery(java.lang.String fontName)
-
FontQuery
public FontQuery(java.lang.String family, FontStyle style)
-
FontQuery
public FontQuery(java.lang.String family, java.lang.String style)
-
-
Method Detail
-
getFontFamilyName
public java.lang.String getFontFamilyName()
Description copied from interface:IFontQuery
The desired font family for theIFont
.- Specified by:
getFontFamilyName
in interfaceIFontQuery
- Returns:
- The desired font family for the
IFont
.
-
getFontName
public java.lang.String getFontName()
Description copied from interface:IFontQuery
The desired font name for theIFont
.- Specified by:
getFontName
in interfaceIFontQuery
- Returns:
- The desired font name for the
IFont
.
-
getFontNameCanonical
public java.lang.Object getFontNameCanonical()
Description copied from interface:IFontQuery
The desired font name for theIFont
.- Specified by:
getFontNameCanonical
in interfaceIFontQuery
- Returns:
- The desired font name for the
IFont
.
-
getFontStyle
public FontStyle getFontStyle()
Description copied from interface:IFontQuery
The desired font style for theIFont
.- Specified by:
getFontStyle
in interfaceIFontQuery
- Returns:
- The desired font style for the
IFont
.
-
getFontType
public java.lang.String getFontType()
Description copied from interface:IFontQuery
The desired font type for theIFont
(such as "Type1" or "TrueType").null
indicates a font of any type.- Specified by:
getFontType
in interfaceIFontQuery
- Returns:
- The desired font type for the
IFont
.
-
setFontFamilyName
public void setFontFamilyName(java.lang.String fontFamilyName)
-
setFontName
public void setFontName(java.lang.String fontName)
-
setFontStyle
public void setFontStyle(FontStyle fontStyle)
-
setFontType
public void setFontType(java.lang.String fontType)
-
-