Class H4

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

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

    • H4

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

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

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