Method getSelectionModel()
Return type: javax.swing.ListSelectionModel
Member of: javax.swing.JList
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 return ((SListSelectionModel) getSelectionModel()).getSelector();
2 assertTrue(list.getSelectionModel() instanceof SListSelectionModel);
3 sourcesList.getSelectionModel().addListSelectionListener(
4 badList.getSelectionModel().removeListSelectionListener( this );
5 reinsList.getSelectionModel().addListSelectionListener(new ListSelectionListener()
6 remList.getSelectionModel().addListSelectionListener(new ListSelectionListener()
7 listbox.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
8 dividersList.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
9 genreDialog.genreList.getSelectionModel().addListSelectionListener(this);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.