Overview | Methods | This Package | All Packages
Sets the selected state of a particular item in the list.
Syntax
public void setSelected( int index, boolean value )
Parameters
index
The zero-based index of the item to update.
value
Set to true to select; set to false to clear.
Remarks
If the list is enabled for multiple selections, this item will not affect other selected items. Otherwise, other selections will be cleared.
See Also getSelected