public class HTMLLabelItem extends AbstractConfigurationObject
Constructor and Description |
---|
HTMLLabelItem(String html)
Constructs a HTMLLabelItem with the given HTML content
|
HTMLLabelItem(String html,
Style style)
Constructs a HTMLLabelItem with the given HTML content and style
|
Modifier and Type | Method and Description |
---|---|
String |
getHtml() |
Style |
getStyle() |
void |
setHtml(String html)
Sets the inner HTML or text for the label.
|
void |
setStyle(Style style)
Sets the CSS style for the label.
|
public HTMLLabelItem(String html)
html
- public String getHtml()
setHtml(String)
public void setHtml(String html)
html
- public Style getStyle()
setStyle(Style)
public void setStyle(Style style)
Style.setLeft(String)
and Style.setTop(String)
.style
- Copyright © 2021. All rights reserved.