|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HasText
An object that implements this interface contains text, which can be set and retrieved using these methods.
The body of an XML element representing a widget that implements
HasText will be parsed as text and be used in a call to its
setText(String)
method. HasText elements must only
contain text. (This behavior is overridden for HasHTML
widgets.)
For example:
<g:Label>Hello.</g:Label>
Method Summary | |
---|---|
java.lang.String |
getText()
Gets this object's text. |
void |
setText(java.lang.String text)
Sets this object's text. |
Method Detail |
---|
java.lang.String getText()
void setText(java.lang.String text)
text
- the object's new text
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |