Class Title

java.lang.Object
org.patternfly.component.BaseComponent<elemental2.dom.HTMLHeadingElement,Title>
org.patternfly.component.title.Title
All Implemented Interfaces:
Container<elemental2.dom.HTMLHeadingElement,Title>, Finder<elemental2.dom.HTMLHeadingElement>, HasElement<elemental2.dom.HTMLHeadingElement,Title>, HasHTMLElement<elemental2.dom.HTMLHeadingElement,Title>, IsElement<elemental2.dom.HTMLHeadingElement>, TypedBuilder<elemental2.dom.HTMLHeadingElement,Title>, Component, WithText<elemental2.dom.HTMLHeadingElement,Title>

public class Title extends BaseComponent<elemental2.dom.HTMLHeadingElement,Title> implements WithText<elemental2.dom.HTMLHeadingElement,Title>
A title component applies top and bottom margins, font-weight, font-size, and line-height to titles. The most common usage for a title is to define headings within a page.
See Also:
  • Method Details

    • title

      public static Title title(int level)
    • title

      public static Title title(int level, Size size)
    • title

      public static Title title(int level, String text)
    • title

      public static Title title(int level, Size size, String text)
    • text

      public Title text(String text)
      Specified by:
      text in interface WithText<elemental2.dom.HTMLHeadingElement,Title>
    • that

      public Title that()
      Specified by:
      that in interface TypedBuilder<elemental2.dom.HTMLHeadingElement,Title>