Class HTMLLabels

All Implemented Interfaces:
Serializable

public class HTMLLabels extends AbstractConfigurationObject

HTMLLabels class.

Version:
$Id: $Id
Author:
Vaadin
See Also:
  • Constructor Details

    • HTMLLabels

      public HTMLLabels()

      Constructor for HTMLLabels.

    • HTMLLabels

      public HTMLLabels(HTMLLabelItem... items)
      Constructs a HTMLLabels instance with the given label items
      Parameters:
      items - a HTMLLabelItem object.
    • HTMLLabels

      public HTMLLabels(Style style, HTMLLabelItem... items)
      Constructs a HTMLLabels instance with a style shared for all the labels and the given label items
      Parameters:
      style - a Style object.
      items - a HTMLLabelItem object.
  • Method Details

    • getItems

      public HTMLLabelItem[] getItems()

      Getter for the field items.

      Returns:
      An array of the label items
    • setItems

      public void setItems(HTMLLabelItem... items)
      Sets the label items
      Parameters:
      items - a HTMLLabelItem object.
    • getStyle

      public Style getStyle()

      Getter for the field style.

      Returns:
      a Style object.
      See Also:
    • setStyle

      public void setStyle(Style style)
      Sets the CSS style shared for all the labels.
      Parameters:
      style - a Style object.