Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

ListBox.setItem

Allows you to replace the item at the specified position in the list box.

Syntax

public final void setItem( int index**, Object** item )

Parameters

index

The zero-based index of the item you want to replace.

item

The new item that you want insert in the place of the item currently at the specified position.

Exceptions

WFCInvalidArgumentException thrown if the specified index is not valid.

See Also   getItem