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

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

1 return _table.getSelectionModel().getMinSelectionIndex();
2 return _table.getSelectionModel().getMinSelectionIndex();
3 tblModules.getSelectionModel().clearSelection();
4 tblModules.getSelectionModel().clearSelection();
5 return ((SListSelectionModel) getSelectionModel()).getSelector();
6 ((SListSelectionModel) getSelectionModel()).setBoundModel(inModel);
7 int index = tblCaptions.getSelectionModel().getMinSelectionIndex();
8 getSelectionModel().addSelectionInterval( 0, getRowCount() - 1 );
9 mTable.getSelectionModel().clearSelection();
10 objectTable.getSelectionModel().clearSelection();
11 if (src == _table.getSelectionModel()) {
12 final ListSelectionModel rowSM = aTable.getSelectionModel();
13 int max = table.getSelectionModel().getMaxSelectionIndex();
14 m_table.getSelectionModel().addListSelectionListener(this);
15 tabProperties.getSelectionModel().setSelectionInterval(0, 0);
16 ListSelectionModel rowSM = jtable.getSelectionModel();
17 ListSelectionModel rowSM = getSelectionModel();
18 int selMode = getSelectionModel().getSelectionMode();
19 getSelectionModel().addListSelectionListener(new ListSelectionListener() {
20 getSelectionModel().addListSelectionListener( new ListSelectionListener() {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.