Sets the button's text.
public final void setText( String text )
text
The text to display on this button.
While text is set on a per-button basis, text alignment, which governs how a caption is positioned relative to a button's image, is set on a per-toolbar basis. To set text alignment for a toolbar, use the ToolBar.setTextAlign method.