Google Web Toolkit (Beta)
« prev
next »
Google Code Home
>
Google Web Toolkit
>
GWT Class Reference
>
com.google.gwt.user.client.ui
>
HasText
Google Web Toolkit
Download GWT
Product Overview
Getting Started Guide
Example Projects
Developer Guide
Class Reference
Issue Tracking
Developer Forum
GWT Blog
GWT FAQ
Making GWT Better
Third Party Tools
Search this site:
Interface HasText
public interface
HasText
// Extended by
HasHTML
// Implemented by
TextBoxBase
,
SuggestBox
,
Label
,
CustomButton.Face
An object that implements this interface contains text, which can be set and retrieved using these methods.
Methods
getText()
Gets this object's text.
setText(String)
Sets this object's text.
Method Detail
getText
public
String
getText
()
Gets this object's text.
Return Value
the object's text
setText
public void
setText
(
String
text
)
Sets this object's text.
Parameters
text
the object's new text