ListItem.setSelected

Overview | Methods | This Package | All Packages

ListItem.setSelected

Sets a boolean value indicating whether this item is selected.

Syntax

public void setSelected( boolean value )

Parameters

value

Set to true to select this item; set to false to cancel the selection for this item. If the multiSelect property for the list view control is set to true, using this method adds or removes the current item from the set of selected items; if the multiSelect property is set to false, using this method to select an item automatically cancels the selection for any other items in the list view control.

See Also   getSelected