Class SwingFont

    • Constructor Detail

      • SwingFont

        public SwingFont​(String key)
        Constructs a font from the Swing font palette.
        Parameters:
        key - The name of the Swing font.
    • Method Detail

      • getKey

        public String getKey()
        Returns The name of the Swing font.
      • equals

        public boolean equals​(Object obj)
        Determines whether another object is equal to this object.
        Overrides:
        equals in class Font
      • hashCode

        public int hashCode()
        Returns the hash code for this object.
        Overrides:
        hashCode in class Font
      • toString

        public String toString()
        Returns a string representation of the object.
        Overrides:
        toString in class Font