Class H3

All Implemented Interfaces:
AttachNotifier, ClickNotifier<H3>, DetachNotifier, HasComponents, HasElement, HasEnabled, HasSize, HasStyle, HasText, Serializable

@Tag("h3") public class H3 extends HtmlContainer implements ClickNotifier<H3>
Component representing a <h3> element.
Since:
1.0
Author:
Vaadin Ltd
See Also:
  • Constructor Details

    • H3

      public H3()
      Creates a new empty heading.
    • H3

      public H3(Component... components)
      Creates a new heading with the given child components.
      Parameters:
      components - the child components
    • H3

      public H3(String text)
      Creates a new heading with the given text.
      Parameters:
      text - the text