| public interface javax.swing SingleSelectionModel
|
Java SE 6 |
| version | 1.20 11/17/05 |
| Methods | |||
|---|---|---|---|
| public void | addChangeListener(ChangeListener listener) Adds listener as a listener to changes in the model.
| ||
| public void | clearSelection() Clears the selection (to -1). | ||
| public void | removeChangeListener(ChangeListener listener) Removes listener as a listener to changes in the model.
| ||
| Properties | |||||
|---|---|---|---|---|---|
| public boolean | isSelected() Returns true if the selection model currently has a selected value.
| ||||
| public void | setSelectedIndex(int index) Sets the model's selected index to index. Notifies any listeners if the model changes
| ||||
| public int | getSelectedIndex() Returns the model's selection.
| ||||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|