Class RichTextArea.FontSize

  • Enclosing class:
    RichTextArea

    public static class RichTextArea.FontSize
    extends java.lang.Object
    Font size enumeration. Represents the seven basic HTML font sizes, as defined in CSS.
    • Method Detail

      • getNumber

        public int getNumber()
        Gets the HTML font number associated with this font size.
        Returns:
        an integer from 1 to 7 inclusive
      • toString

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