Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OverviewMethodsThis PackageAll Packages
ToolBarButton.setText
Sets the button's text.
Syntax
public final void setText( String text )
Parameters
text
The text to display on this button.
Remarks
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.