| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
package org.fest.swing.driver; |
| 17 |
|
|
| 18 |
|
import static org.fest.swing.edt.GuiActionRunner.execute; |
| 19 |
|
|
| 20 |
|
import javax.swing.JTable; |
| 21 |
|
|
| 22 |
|
import org.fest.swing.annotation.RunsInEDT; |
| 23 |
|
import org.fest.swing.edt.GuiQuery; |
| 24 |
|
|
| 25 |
|
|
| 26 |
|
@link |
| 27 |
|
|
| 28 |
|
@see |
| 29 |
|
|
| 30 |
|
@author |
| 31 |
|
@author |
| 32 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
| 33 |
|
final class JTableCellValueQuery { |
| 34 |
|
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 35 |
19
|
@RunsInEDT... |
| 36 |
|
static Object cellValueOf(final JTable table, final int row, final int column) { |
| 37 |
19
|
return execute(new GuiQuery<Object>() { |
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
| 38 |
19
|
protected Object executeInEDT() {... |
| 39 |
19
|
return table.getValueAt(row, column); |
| 40 |
|
} |
| 41 |
|
}); |
| 42 |
|
} |
| 43 |
|
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
| 44 |
|
private JTableCellValueQuery() {}... |
| 45 |
|
} |