Class HTMLHx


  • public class HTMLHx
    extends HTMLComponent
    A simple HTML h1, h2, h3, ... tag.
    Author:
    Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
    • Constructor Detail

      • HTMLHx

        public HTMLHx​(int x,
                      String text)
        Default constructor
        Parameters:
        x - 1 for H1 tags, 2 for H2, etc
        text - The enclosed text
    • Method Detail

      • getContent

        public String getContent()
      • setContent

        public void setContent​(String text)