Class FontQuery

  • All Implemented Interfaces:
    IFontQuery

    public class FontQuery
    extends java.lang.Object
    implements IFontQuery
    • 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 the IFont.
        Specified by:
        getFontFamilyName in interface IFontQuery
        Returns:
        The desired font family for the IFont.
      • getFontName

        public java.lang.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 java.lang.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.
      • getFontType

        public java.lang.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​(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)