Class FontQuery

java.lang.Object
de.intarsys.cwt.font.FontQuery
All Implemented Interfaces:
IFontQuery

public class FontQuery extends Object implements IFontQuery
  • Constructor Details

    • FontQuery

      public FontQuery()
    • FontQuery

      public FontQuery(String fontName)
    • FontQuery

      public FontQuery(String family, FontStyle style)
    • FontQuery

      public FontQuery(String family, String style)
  • Method Details

    • getFontFamilyName

      public String getFontFamilyName()
      Description copied from interface: IFontQuery
      The desired font family for the IFont.
      Specified by:
      getFontFamilyName in interface IFontQuery
      Returns:
      The desired font family for the IFont.
    • getFontName

      public String getFontName()
      Description copied from interface: IFontQuery
      The desired font name for the IFont.
      Specified by:
      getFontName in interface IFontQuery
      Returns:
      The desired font name for the IFont.
    • getFontNameCanonical

      public Object getFontNameCanonical()
      Description copied from interface: IFontQuery
      The desired font name for the IFont.
      Specified by:
      getFontNameCanonical in interface IFontQuery
      Returns:
      The desired font name for the IFont.
    • getFontStyle

      public FontStyle getFontStyle()
      Description copied from interface: IFontQuery
      The desired font style for the IFont.
      Specified by:
      getFontStyle in interface IFontQuery
      Returns:
      The desired font style for the IFont.
    • getFontType

      public String getFontType()
      Description copied from interface: IFontQuery
      The desired font type for the IFont (such as "Type1" or "TrueType"). nullindicates a font of any type.
      Specified by:
      getFontType in interface IFontQuery
      Returns:
      The desired font type for the IFont.
    • setFontFamilyName

      public void setFontFamilyName(String fontFamilyName)
    • setFontName

      public void setFontName(String fontName)
    • setFontStyle

      public void setFontStyle(FontStyle fontStyle)
    • setFontType

      public void setFontType(String fontType)