Replaces the ROI at the specified index.
(Roi roi, int index)
| 551 | |
| 552 | /** Replaces the ROI at the specified index. */ |
| 553 | public void setRoi(Roi roi, int index) { |
| 554 | if (index<0 || index>=rois.size()) |
| 555 | throw new IllegalArgumentException("setRoi: Index out of range"); |
| 556 | rois.set(index, (Roi)roi.clone()); |
| 557 | updateShowAll(); |
| 558 | } |
| 559 | |
| 560 | boolean isStandardName(String name) { |
| 561 | if (name==null) |
no test coverage detected