Class FXGFontSearchAttributes


  • public class FXGFontSearchAttributes
    extends java.lang.Object
    A search request for a font using FXG terms.
    • Constructor Summary

      Constructors 
      Constructor Description
      FXGFontSearchAttributes​(java.lang.String platformName, boolean isBold, boolean isItalic)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getFamilyName()
      Get the font family name used for FXG.
      int hashCode()  
      boolean isBold()
      Tests whether the font is bold in FXG terms.
      boolean isItalic()
      Tests whether the font is italic in FXG terms.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FXGFontSearchAttributes

        public FXGFontSearchAttributes​(java.lang.String platformName,
                                       boolean isBold,
                                       boolean isItalic)
        Parameters:
        platformName -
        isBold -
        isItalic -
    • Method Detail

      • getFamilyName

        public java.lang.String getFamilyName()
        Get the font family name used for FXG.
        Returns:
        the font family name
      • isBold

        public boolean isBold()
        Tests whether the font is bold in FXG terms.
        Returns:
        true if the font is bold; false otherwise
      • isItalic

        public boolean isItalic()
        Tests whether the font is italic in FXG terms.
        Returns:
        true if the font is italic; false otherwise
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object