Interface HeadingControl

All Superinterfaces:
AriaControlProperties, BackgroundStyleProperties, BorderStyleProperties, Control, Element, EventOwner, MarginStyleProperties, MessageContainer, PaddingStyleProperties, java.io.Serializable, TextStyleProperties, WebFormEventOwner

public interface HeadingControl
extends Control, BackgroundStyleProperties, TextStyleProperties, PaddingStyleProperties, MarginStyleProperties, BorderStyleProperties, AriaControlProperties
Heading Control

A general purpose control that wraps content in a Heading H1-H6 tag:

  <H1>
  .. child controls
  </H1>
  
Further documentation.
Since:
V5.9
  • Method Details

    • getLevel

      int getLevel()
      Heading level. 1 - 6 for H1, H2, H3, H4, H5, H6 heading html element
    • setLevel

      void setLevel​(int level)
      Sets the heading level, accepted values are 1 - 6 and correspond to changing the HTML tag to <h1> - <h6>
      Since:
      V5.9
    • getText

      Text getText()
      Returns the Text object for the heading.