Class PlatformFontDescription

  • All Implemented Interfaces:
    java.io.Serializable

    public final class PlatformFontDescription
    extends FontDescription
    A platform name description of a font. This description can be used for looking up fonts.
    See Also:
    Serialized Form
    • Constructor Detail

      • PlatformFontDescription

        public PlatformFontDescription​(Platform platform,
                                       ULocale locale,
                                       java.lang.String platformFamilyName)
        Constructor
        Parameters:
        platform - the platform that this description is for
        platformFamilyName - the platform name
    • Method Detail

      • getPlatform

        public Platform getPlatform()
        Get the platform that this description is for.
        Returns:
        the platform that this description is for
      • getLocale

        public ULocale getLocale()
        Get the platform that this description is for.
        Returns:
        the platform that this description is for
      • getPlatformName

        public java.lang.String getPlatformName()
      • 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