Sets the label of the specified slice, where {@literal 1<=n<=nslices}.
(String label, int n)
| 303 | |
| 304 | /** Sets the label of the specified slice, where {@literal 1<=n<=nslices}. */ |
| 305 | public void setSliceLabel(String label, int n) { |
| 306 | if (n<1 || n>nSlices) |
| 307 | throw new IllegalArgumentException(outOfRange+n); |
| 308 | this.label[n-1] = label; |
| 309 | } |
| 310 | |
| 311 | /** Returns an ImageProcessor for the specified slice, |
| 312 | * where {@literal 1<=n<=nslices}. |
no outgoing calls
no test coverage detected