Deletes 'row1' through 'row2' of the "Results" window, where 'row1' and 'row2' must be in the range 0-Analyzer.getCounter()-1.
(int row1, int row2)
| 749 | /** Deletes 'row1' through 'row2' of the "Results" window, where |
| 750 | 'row1' and 'row2' must be in the range 0-Analyzer.getCounter()-1. */ |
| 751 | public static void deleteRows(int row1, int row2) { |
| 752 | ResultsTable rt = Analyzer.getResultsTable(); |
| 753 | int tableSize = rt.size(); |
| 754 | rt.deleteRows(row1, row2); |
| 755 | ImagePlus imp = WindowManager.getCurrentImage(); |
| 756 | if (imp!=null) |
| 757 | Overlay.updateTableOverlay(imp, row1, row2, tableSize); |
| 758 | rt.show("Results"); |
| 759 | } |
| 760 | |
| 761 | /** Returns a measurement result, where 'measurement' is "Area", |
| 762 | * "Mean", "StdDev", "Mode", "Min", "Max", "X", "Y", "XM", "YM", |
no test coverage detected