ToolBarButton.getText

Overview | Methods | This Package | All Packages

ToolBarButton.getText

Retrieves the text that is displayed on this button.

Syntax

public final String getText()

Return Value

Returns a string containing this button's caption.

Remarks

To determine how the text on a button is aligned with regard to images displayed on the button, use the ToolBar class' setTextAlign method.

See Also   setText