716717718719720721722723724725726
public void itemStateChanged(ItemEvent e) { JCheckBoxMenuItem rb = (JCheckBoxMenuItem) e.getSource(); ImageProcessor imageProcessor = _imageDisplay.getImageProcessor(); imageProcessor.setFlipX(rb.getState()); imageProcessor.update(); } }); return menuItem; }
734735736737738739740741742743744
public void itemStateChanged(ItemEvent e) { JCheckBoxMenuItem rb = (JCheckBoxMenuItem) e.getSource(); ImageProcessor imageProcessor = _imageDisplay.getImageProcessor(); imageProcessor.setFlipY(rb.getState()); imageProcessor.update(); } }); return menuItem; }
690691692693694695696697698699700
imageProcessor.setAngle(-90.0 * rad); } //else if (rb.getText().equals(" 45 deg (XXX not impl)")) { // imageProcessor.setAngle(45.0*rad); //} imageProcessor.update(); } } }; b1.addItemListener(itemListener);
265266267268269270271272273274275
_pannerImage = _getPannerImage(); } ImageProcessor ip = _imageDisplay.getImageProcessor(); ip.setSourceImage(_pannerImage, _mainImageDisplay.getImageProcessor()); ip.update(); _imageDisplay.updateImage(); }
201202203204205206207208209210211
imageProcessor.setIntensityLookupTable(itt); imageProcessor.setScaleAlgorithm(scaleAlg); imageProcessor.setCutLevels(lcut, hcut, userSetCutLevels); imageDisplay.setScale(scale); imageProcessor.update(); } } // --- Implement Action interface ---