Class LegendTitle
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.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 Summary
ConstructorsConstructorDescriptionConstructor for LegendTitle.LegendTitle(String text) Constructor for LegendTitle. -
Method Summary
-
Constructor Details
-
LegendTitle
public LegendTitle()Constructor for LegendTitle.
-
LegendTitle
Constructor for LegendTitle.
- Parameters:
text- aStringobject.
-
-
Method Details
-
getStyle
Getter for the field
style.- Returns:
- a
Styleobject. - See Also:
-
setStyle
Generic CSS styles for the legend title.Defaults to: {"fontWeight":"bold"}
- Parameters:
style- aStyleobject.
-
getText
Getter for the field
text.- Returns:
- a
Stringobject. - See Also:
-
setText
A text or HTML string for the title.Defaults to: null
- Parameters:
text- aStringobject.
-