Replaces the specified tab.
public final void setTab( int index, TabItem item )
public final void setTab( int index, String text )
index
The zero-based index of the tab to replace.
item
The TabItem object that represents the tab to replace the specified tab with.
text
The text for a the tab to replace the specified tab with.
WFCInvalidArgumentException thrown if the specified index is not valid.
See Also getTab