Class LegendTitle

All Implemented Interfaces:
Serializable

@Generated(value="This class was generated", comments="Incorrect and missing API should be reported") public class LegendTitle extends AbstractConfigurationObject
A title to be added on top of the legend.
Version:
$Id: $Id
Author:
Vaadin
See Also:
  • Constructor Details

    • LegendTitle

      public LegendTitle()

      Constructor for LegendTitle.

    • LegendTitle

      public LegendTitle(String text)

      Constructor for LegendTitle.

      Parameters:
      text - a String object.
  • Method Details

    • getStyle

      public Style getStyle()

      Getter for the field style.

      Returns:
      a Style object.
      See Also:
    • setStyle

      public void setStyle(Style style)
      Generic CSS styles for the legend title.

      Defaults to: {"fontWeight":"bold"}

      Parameters:
      style - a Style object.
    • getText

      public String getText()

      Getter for the field text.

      Returns:
      a String object.
      See Also:
    • setText

      public void setText(String text)
      A text or HTML string for the title.

      Defaults to: null

      Parameters:
      text - a String object.