public interface InputButton extends HTMLComponent
Modifier and Type | Method and Description |
---|---|
Image |
getImage() |
String |
getText() |
void |
setImage(Image icon) |
void |
setText(String text) |
isEnabled, isVisible, setEnabled, setVisible
void setText(String text)
text
- set the text inside the button.String getText()
void setImage(Image icon)
icon
- set an icon inside the button.Image getImage()
null
if no icon is set.Copyright © 2021. All rights reserved.