All Implemented Interfaces:
Serializable, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public class Heading extends Label
Simple replacement of Label which can be used for all h1 to h6-tags.
Author:
miha
See Also:
  • Constructor Details

    • Heading

      public Heading(String componentId)
      Constructor.
      Parameters:
      componentId - The non-null id of a new component
    • Heading

      public Heading(String componentId, String label)
      Constructor.
      Parameters:
      componentId - The non-null id of a new component
      label - The label text
    • Heading

      public Heading(String componentId, IModel<String> model)
      Constructor.
      Parameters:
      componentId - The non-null id of a new component
      model - which holds the label text