TabStrip.setTab

Overview | Methods | This Package | All Packages

TabStrip.setTab

Replaces the specified tab.

Syntax

public final void setTab( int index, TabItem item )

public final void setTab( int index, String text )

Parameters

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.

Exceptions

WFCInvalidArgumentException thrown if the specified index is not valid.

See Also   getTab