com.google.gwt.user.client.ui
Interface HasText

All Known Subinterfaces:
HasHTML
All Known Implementing Classes:
ButtonBase, DialogBox, HTML, Hyperlink, Label, MenuItem, TextBoxBase, TreeItem

public interface HasText

An object that implements this interface contains text, which can be set and retrieved using these methods.


Method Summary
 String getText()
          Gets this object's text.
 void setText(String text)
          Sets this object's text.
 

Method Detail

getText

public String getText()
Gets this object's text.

Returns:
the object's text

setText

public void setText(String text)
Sets this object's text.



This javadoc distribution was not produced by Google. The official documentation is here.