Class Title

java.lang.Object
org.patternfly.component.BaseComponent<elemental2.dom.HTMLHeadingElement, Title>
org.patternfly.component.title.Title
All Implemented Interfaces:
ElementAttributeMethods<elemental2.dom.HTMLHeadingElement, Title>, ElementClassListMethods<elemental2.dom.HTMLHeadingElement, Title>, ElementConsumerMethods<elemental2.dom.HTMLHeadingElement, Title>, ElementContainerMethods<elemental2.dom.HTMLHeadingElement, Title>, ElementEventMethods<elemental2.dom.HTMLHeadingElement, Title>, ElementIdMethods<elemental2.dom.HTMLHeadingElement, Title>, ElementQueryMethods<elemental2.dom.HTMLHeadingElement>, ElementTextMethods<elemental2.dom.HTMLHeadingElement, Title>, HTMLElementAttributeMethods<elemental2.dom.HTMLHeadingElement, Title>, HTMLElementDataMethods<elemental2.dom.HTMLHeadingElement, Title>, HTMLElementStyleMethods<elemental2.dom.HTMLHeadingElement, Title>, HTMLElementVisibilityMethods<elemental2.dom.HTMLHeadingElement, Title>, IsElement<elemental2.dom.HTMLHeadingElement>, TypedBuilder<elemental2.dom.HTMLHeadingElement, Title>, Component, OuiaSupport<elemental2.dom.HTMLHeadingElement, Title>

public class Title extends BaseComponent<elemental2.dom.HTMLHeadingElement, Title> implements ElementTextMethods<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)
    • that

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