Methods Summary |
---|
public void | addChangeListener(javax.swing.event.ChangeListener listener)Adds listener as a listener to changes in the model.
|
public void | clearSelection()Clears the selection (to -1).
|
public int | getSelectedIndex()Returns the model's selection.
|
public boolean | isSelected()Returns true if the selection model currently has a selected value.
|
public void | removeChangeListener(javax.swing.event.ChangeListener listener)Removes listener as a listener to changes in the model.
|
public void | setSelectedIndex(int index)Sets the model's selected index to index.
Notifies any listeners if the model changes
|