Method getSelectedRow()
Return type: int
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
this.showDetails( this.jTable.getSelectedRow() );
2
int selectedRow = this.jTable.getSelectedRow();
3
int i=gssTable.getSelectedRow();//a higher priority as they override previous rules in case of conflict)
4
int i=gssTable.getSelectedRow();//a higher priority as they override previous rules in case of conflict)
5
stSelectedRow = settingsTable.getSelectedRow();
6
return (getSelectedRow() == row || (editingRow == row && !inEditorRemoveRequest())) && (hasFocus() ||
7
return Long.parseLong( (String) myModel.getValueAt(table.getSelectedRow(), myModel.findColumn(myModel.SIZE)) );
8
if (columnsDisplayTable.getSelectedRow() >= 0) {
9
int certindex = sigTable.getSelectedRow();
10
int row = getSelectedRow();
11
if (table.getSelectedRow()!=-1) { //if a row is selected, then get filename
12
jTable.getSelectedRow ( ) ) );
13
assertTrue("getSelectedIndex == " + table.getSelectedRow(), table.getSelectedRow() == -1);
14
int row = getSelectedRow();
15
if ( _table != null && _table.getSelectedRow() != -1 ) {
16
int row = _table.getSelectedRow();
17
Quote quote = quoteModel.getQuote(quotesTable.getSelectedRow());
18
int selectedRow = projectTable.getSelectedRow();
19
int index = tabEditor.getSelectedRow();
20
int rowSelected = table.getSelectedRow();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.