public interface LabelComponent extends HTMLComponent
Modifier and Type | Method and Description |
---|---|
Image |
getImage() |
String |
getText() |
void |
setImage(Image image) |
void |
setText(String text) |
isEnabled, isVisible, setEnabled, setVisible
void setText(String text)
text
- set text of the label.String getText()
void setImage(Image image)
image
- set an image of text label.Image getImage()
null
is returned.Copyright © 2020. All rights reserved.