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