Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void | addChangeListener(ChangeListener listener)
Adds listener as a listener to changes in the model. |
void | clearSelection()
Clears the selection (to -1). |
int | getSelectedIndex()
|
boolean | isSelected()
Returns true if the selection model currently has a selected value. |
void | removeChangeListener(ChangeListener listener)
Removes listener as a listener to changes in the model. |
void | setSelectedIndex(int index)
Sets the model's selected index to index. |
Method Detail |
public int getSelectedIndex()
public void setSelectedIndex(int index)
public void clearSelection()
public boolean isSelected()
public void addChangeListener(ChangeListener listener)
public void removeChangeListener(ChangeListener listener)
Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |