Note that passing out of range parameters is invalid, and will result in unspecified behavior.
Note that this method should be primarily used to initially select an item in this component. Programmatically calling this method will not trigger an ItemEvent
. The only way to trigger an ItemEvent
is by user interaction.
@param index the position of the item to select
@see #getSelectedItem
@see #deselect
@see #isIndexSelected
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|