Method setSelectionMode(int selectionMode)
Return type: void
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 list.setSelectionMode(selectionMode);
2 setSelectionMode( javax.swing.ListSelectionModel.SINGLE_SELECTION );
3 list.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
4 reinsList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
5 list.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
6 setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
7 listBox.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
8 nodeList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
9 lstPaths.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
10 vList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
11 centerList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
12 list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
13 (mPanel.componentGetList("list")).setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
14 setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
15 list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
16 valueList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
17 list.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
18 projectList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
19 connectionList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
20 list.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.