Initializer
Heading(String text = "", String? id = null, CssClass classNames = [], String? style = null, String? accessKey = null, String? contextMenu = null, TextDirection? dir = null, Boolean? draggable = null, DropZone? dropZone = null, Boolean? inert = null, Boolean? hidden = null, String? lang = null, Boolean? spellcheck = null, Integer? tabIndex = null, String? title = null, Boolean? translate = null, Aria? aria = null, NonstandardAttributes nonstandardAttributes = ..., DataContainer data = ..., {String|InlineElement|{String|InlineElement*}|Snippet<InlineElement>|Null*} children = ...)
Parameters:
  • text = ""
  • id = null
  • classNames = []
  • style = null
  • accessKey = null
  • contextMenu = null
  • dir = null
  • draggable = null
  • dropZone = null
  • inert = null
  • hidden = null
  • lang = null
  • spellcheck = null
  • tabIndex = null
  • title = null
  • translate = null
  • aria = null
  • nonstandardAttributes = empty
  • data = empty
  • children = {}
Attributes
childrenSource Codeshared actual {String|InlineElement|{String|InlineElement*}|Snippet<InlineElement>|Null*} children
levelSource Codeshared formal Integer level
tagSource Codeshared actual Tag tag

The tag name and type.

Refines Node.tag
textSource Codeshared actual String text
Inherited Attributes
Attributes inherited from: BaseElement
Attributes inherited from: Element
Attributes inherited from: Object
Attributes inherited from: StyledElement
Attributes inherited from: Node
Attributes inherited from: ParentNode<Child>
Attributes inherited from: TextNode
Methods
compareSource Codeshared actual Comparison compare(Heading other)

Compares this value with the given value. Implementations must respect the constraints that:

  • x==y if and only if x<=>y == equal (consistency with equals()),
  • if x>y then y<x (symmetry), and
  • if x>y and y>z then x>z (transitivity).
Inherited Methods
Methods inherited from: Object
Methods inherited from: Comparable<Other>