setCaption

public final void setCaption(String value)

Sets the caption text displayed on the button.

Parameters

value

The value to set for the Caption property.