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.StringgetFontFamilyName()The desired font family for theIFont.java.lang.StringgetFontName()The desired font name for theIFont.java.lang.ObjectgetFontNameCanonical()The desired font name for theIFont.FontStylegetFontStyle()The desired font style for theIFont.java.lang.StringgetFontType()The desired font type for theIFont(such as "Type1" or "TrueType").voidsetFontFamilyName(java.lang.String fontFamilyName)voidsetFontName(java.lang.String fontName)voidsetFontStyle(FontStyle fontStyle)voidsetFontType(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:IFontQueryThe desired font family for theIFont.- Specified by:
getFontFamilyNamein interfaceIFontQuery- Returns:
- The desired font family for the
IFont.
-
getFontName
public java.lang.String getFontName()
Description copied from interface:IFontQueryThe desired font name for theIFont.- Specified by:
getFontNamein interfaceIFontQuery- Returns:
- The desired font name for the
IFont.
-
getFontNameCanonical
public java.lang.Object getFontNameCanonical()
Description copied from interface:IFontQueryThe desired font name for theIFont.- Specified by:
getFontNameCanonicalin interfaceIFontQuery- Returns:
- The desired font name for the
IFont.
-
getFontStyle
public FontStyle getFontStyle()
Description copied from interface:IFontQueryThe desired font style for theIFont.- Specified by:
getFontStylein interfaceIFontQuery- Returns:
- The desired font style for the
IFont.
-
getFontType
public java.lang.String getFontType()
Description copied from interface:IFontQueryThe desired font type for theIFont(such as "Type1" or "TrueType").nullindicates a font of any type.- Specified by:
getFontTypein 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)
-
-