Class HTMLLabelItem
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.HTMLLabelItem
- All Implemented Interfaces:
Serializable
HTMLLabelItem class.
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHTMLLabelItem(String html) Constructs a HTMLLabelItem with the given HTML contentHTMLLabelItem(String html, Style style) Constructs a HTMLLabelItem with the given HTML content and style -
Method Summary
-
Constructor Details
-
Method Details
-
getHtml
Getter for the field
html.- Returns:
- a
Stringobject. - See Also:
-
setHtml
Sets the inner HTML or text for the label. Defaults to "".- Parameters:
html- aStringobject.
-
getStyle
Getter for the field
style.- Returns:
- a
Styleobject. - See Also:
-
setStyle
Sets the CSS style for the label. To position the label, useStyle.setLeft(String)andStyle.setTop(String).- Parameters:
style- aStyleobject.
-