public interface InputButton extends HTMLComponent
Represents an input button UI component
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 buttonImage getImage()
null
if no icon is set.Copyright © 2018. All rights reserved.