MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / deleteRows

Method deleteRows

ij/src/main/java/ij/IJ.java:751–759  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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",

Callers 1

doIJMethod · 0.95

Calls 6

getResultsTableMethod · 0.95
sizeMethod · 0.95
deleteRowsMethod · 0.95
getCurrentImageMethod · 0.95
updateTableOverlayMethod · 0.95
showMethod · 0.95

Tested by

no test coverage detected