Sets the text displayed on the tab.
public void setText( String text )
text
The text displayed on the tab. The default value is the code name of the TabItem object.