Class HTMLLabels
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.HTMLLabels
- All Implemented Interfaces:
Serializable
HTMLLabels class.
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for HTMLLabels.HTMLLabels(HTMLLabelItem... items) Constructs a HTMLLabels instance with the given label itemsHTMLLabels(Style style, HTMLLabelItem... items) Constructs a HTMLLabels instance with a style shared for all the labels and the given label items -
Method Summary
Modifier and TypeMethodDescriptiongetItems()Getter for the fielditems.getStyle()Getter for the fieldstyle.voidsetItems(HTMLLabelItem... items) Sets the label itemsvoidSets the CSS style shared for all the labels.
-
Constructor Details
-
HTMLLabels
public HTMLLabels()Constructor for HTMLLabels.
-
HTMLLabels
Constructs a HTMLLabels instance with the given label items- Parameters:
items- aHTMLLabelItemobject.
-
HTMLLabels
Constructs a HTMLLabels instance with a style shared for all the labels and the given label items- Parameters:
style- aStyleobject.items- aHTMLLabelItemobject.
-
-
Method Details
-
getItems
Getter for the field
items.- Returns:
- An array of the label items
-
setItems
Sets the label items- Parameters:
items- aHTMLLabelItemobject.
-
getStyle
Getter for the field
style.- Returns:
- a
Styleobject. - See Also:
-
setStyle
Sets the CSS style shared for all the labels.- Parameters:
style- aStyleobject.
-