|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.CustomButton.Face
public abstract class CustomButton.Face
Represents a button's face. Each face is associated with its own style modifier and, optionally, its own contents html, text, or image.
Method Summary | |
---|---|
(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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getHTML()
getHTML
in interface HasHTML
public java.lang.String getText()
getText
in interface HasText
public void setHTML(SafeHtml html)
setHTML
in interface HasSafeHtml
html
- html to set as face's contents htmlpublic void setHTML(java.lang.String html)
setHTML
in interface HasHTML
html
- html to set as face's contents htmlpublic final void setImage(Image image)
image
- image to set as face contentspublic final void setText(java.lang.String text)
setText
in interface HasText
text
- text to set as face's contentspublic final java.lang.String toString()
toString
in class java.lang.Object
abstract 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".
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |