public abstract class CustomButton.Face extends java.lang.Object implements HasHTML, HasSafeHtml
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract int |
getFaceID()
Gets the ID associated with this face.
|
java.lang.String |
getHTML()
Gets the face's contents as html.
|
(package private) abstract java.lang.String |
getName()
Get the name of the face.
|
java.lang.String |
getText()
Gets the face's contents as text.
|
void |
setHTML(SafeHtml html)
Set the face's contents as html.
|
void |
setHTML(java.lang.String html)
Set the face's contents as html.
|
void |
setImage(Image image)
Set the face's contents as an image.
|
void |
setText(java.lang.String text)
Sets the face's contents as text.
|
java.lang.String |
toString() |
public java.lang.String getHTML()
public java.lang.String getText()
public void setHTML(SafeHtml html)
setHTML in interface HasSafeHtmlhtml - html to set as face's contents htmlpublic void setHTML(java.lang.String html)
public final void setImage(Image image)
image - image to set as face contentspublic final void setText(java.lang.String text)
public final java.lang.String toString()
toString in class java.lang.Objectabstract int getFaceID()
abstract java.lang.String getName()
CustomButton style. For instance, if the
CustomButton style is "gwt-PushButton" and the face name is
"up", then the CSS class name will be "gwt-PushButton-up".