Displays the specified slice and updates the stack scrollbar.
(int index)
| 324 | |
| 325 | /** Displays the specified slice and updates the stack scrollbar. */ |
| 326 | public void showSlice(int index) { |
| 327 | if (imp!=null && index>=1 && index<=imp.getStackSize()) { |
| 328 | setSlice(imp,index); |
| 329 | SyncWindows.setZ(this, index); |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | /** Updates the stack scrollbar. */ |
| 334 | public void updateSliceSelector() { |
no test coverage detected