public abstract class CustomButton.Face extends Object implements HasHTML, HasSafeHtml
Modifier and Type | Method and Description |
---|---|
String |
getHTML()
Gets the face's contents as html.
|
String |
getText()
Gets the face's contents as text.
|
void |
setHTML(SafeHtml html)
Set the face's contents as html.
|
void |
setHTML(String html)
Set the face's contents as html.
|
void |
setImage(Image image)
Set the face's contents as an image.
|
void |
setText(String text)
Sets the face's contents as text.
|
String |
toString() |
public String getHTML()
public String getText()
public void setHTML(SafeHtml html)
setHTML
in interface HasSafeHtml
html
- html to set as face's contents htmlpublic void setHTML(String html)
public final void setImage(Image image)
image
- image to set as face contentspublic final void setText(String text)
Copyright © 2018. All rights reserved.