Deprecated API


Contents
Deprecated Classes
ij.plugin.filter.Duplicater
          replaced by Duplicator class 
ij.plugin.frame.jedit.EBMessage.NonVetoable
          Subclass EBMessage instead. 
gnu.regexp.REFilterInputStream
          This class cannot properly handle all character encodings. For proper handling, use the REFilterReader class instead. 
ij.plugin.filter.Resizer
          replaced by ij.plugin.Resizer 
 

Deprecated Methods
ij.ImageStack.addUnsignedShortSlice(String, Object)
          Short images are always unsigned. 
ij.plugin.ImageCalculator.calculate(String, ImagePlus, ImagePlus)
          replaced by run(String,ImagePlus,ImagePlus) 
ij.plugin.filter.Filler.clearOutside(ImageProcessor)
          replaced by ImageProcessor.fillOutside(Roi) 
ij.plugin.frame.jedit.MiscUtilities.compareVersions(String, String)
          Call compareStrings() instead 
ij.gui.NewImage.createUnsignedShortImage(String, int, int, int, int)
          Short images are always unsigned. 
ij.plugin.filter.Filler.draw(ImageProcessor)
          replaced by ImageProcessor.draw(Roi) 
ij.process.ImageProcessor.drawDot2(int, int)
            
ij.gui.RoundRectangleRoi.drawPixels()
          replaced by drawPixels(ImageProcessor) 
ij.gui.RoiBeans.drawPixels()
          replaced by drawPixels(ImageProcessor) 
ij.gui.Roi.drawPixels()
          replaced by drawPixels(ImageProcessor) 
ij.gui.RectangleRoi.drawPixels()
          replaced by drawPixels(ImageProcessor) 
ij.plugin.filter.Filler.fill(ImageProcessor)
          replaced by ImageProcessor.fill(Roi) 
ij.gui.RoundRectangleRoi.getBoundingRect()
          replaced by getBounds() 
ij.gui.RoiBeans.getBoundingRect()
          replaced by getBounds() 
ij.gui.Roi.getBoundingRect()
          replaced by getBounds() 
ij.gui.RectangleRoi.getBoundingRect()
          replaced by getBounds() 
ij.gui.Toolbar.getColor()
          replaced by getForegroundColor() 
ij.gui.ImageCanvas.getDisplayList()
          replaced by ImagePlus.getOverlay() 
ij.plugin.frame.jedit.MiscUtilities.getFileParent(String)
          Call getParentOfPath() instead 
ij.plugin.frame.jedit.MiscUtilities.getFileProtocol(String)
          Call getProtocolOfURL() instead 
org.jdesktop.swingx.JXImageView.getOpenAction()
          see SwingX issue 990 
ij.plugin.JpegWriter.getQuality()
          replaced by FileSaver.getJpegQuality() 
org.jdesktop.swingx.JXImageView.getRotateClockwiseAction()
          see SwingX issue 990 
org.jdesktop.swingx.JXImageView.getRotateCounterClockwiseAction()
          see SwingX issue 990 
org.jdesktop.swingx.JXImageView.getSaveAction()
          see SwingX issue 990 
gnu.regexp.REMatch.getSubEndIndex(int)
          Use getEndIndex(int) instead 
gnu.regexp.REMatch.getSubStartIndex(int)
          Use getStartIndex(int) instead. 
ij.measure.ResultsTable.getValue(int, int)
          replaced by getValueAsDouble 
org.jdesktop.swingx.JXImageView.getZoomInAction()
          see SwingX issue 990 
org.jdesktop.swingx.JXImageView.getZoomOutAction()
          see SwingX issue 990 
ij.process.ImageProcessor.isKillable()
            
ij.plugin.frame.jedit.TextAreaPainter.isManagingFocus()
           
ij.plugin.frame.jedit.LNTextAreaPainter.isManagingFocus()
           
ij.plugin.frame.jedit.JEditTextArea.isManagingFocus()
           
ij.plugin.frame.jedit.EBMessage.isVetoed()
          Returns false. 
ij.plugin.filter.RankFilters.makeKernel(double)
          Not needed any more, use the rank(ip, ...) method, which creates the kernel 
ij.gui.Toolbar.setColor(Color)
          replaced by setForegroundColor() 
ij.gui.ImageCanvas.setDisplayList(Roi, Color)
          replaced by ImagePlus.setOverlay(Roi, Color, int, Color) 
ij.gui.ImageCanvas.setDisplayList(Shape, Color, BasicStroke)
          replaced by ImagePlus.setOverlay(Shape, Color, BasicStroke) 
ij.gui.ImageCanvas.setDisplayList(Vector)
          replaced by ImagePlus.setOverlay(ij.gui.Overlay) 
ij.measure.ResultsTable.setHeading(int, String)
          replaced by addValue(String,double) and setValue(String,int,double) 
ij.gui.RoundRectangleRoi.setInstanceColor(Color)
          replaced by setStrokeColor() 
ij.gui.RoiBeans.setInstanceColor(Color)
          replaced by setStrokeColor() 
ij.gui.Roi.setInstanceColor(Color)
          replaced by setStrokeColor() 
ij.gui.RectangleRoi.setInstanceColor(Color)
          replaced by setStrokeColor() 
ij.gui.RoundRectangleRoi.setLineWidth(int)
          replaced by setStrokeWidth(int) 
ij.gui.RoiBeans.setLineWidth(int)
          replaced by setStrokeWidth(int) 
ij.gui.Roi.setLineWidth(int)
          replaced by setStrokeWidth(int) 
ij.gui.RectangleRoi.setLineWidth(int)
          replaced by setStrokeWidth(int) 
ij.plugin.JpegWriter.setQuality(int)
          replaced by FileSaver.setJpegQuality() 
ij.plugin.frame.jedit.MiscUtilities.stringsEqual(String, String)
          Call objectsEqual() instead. 
ij.gui.Roi.temporarilyHide()
            
ij.process.ImageProcessor.translate(int, int, boolean)
          replaced by translate(x,y) 
ij.plugin.frame.jedit.EBMessage.veto()
          Does nothing. 
ij.IJ.write(String)
          replaced by IJ.log(), ResultsTable.setResult() and TextWindow.append(). There are examples at http://imagej.nih.gov/ij/plugins/sine-cosine.html 
 

Deprecated Constructors
ij.gui.Line(int, int, int, int, ImagePlus)
          replaced by Line(int, int, int, int) 
ij.gui.OvalRoi(int, int, int, int, ImagePlus)
            
ij.gui.PlotWindow(String, String, String, double[], double[])
          replaced by the Plot class. 
ij.gui.PlotWindow(String, String, String, float[], float[])
          replaced by the Plot class. 
ij.gui.PolygonRoi(int[], int[], int, ImagePlus, int)
            
ij.gui.Roi(int, int, int, int, ImagePlus)
            
ij.process.ShortProcessor(int, int, short[], ColorModel, boolean)
          16 bit images are normally unsigned but signed images can be simulated by subtracting 32768 and using a calibration function to restore the original values. 
ij.gui.TextRoi(int, int, String, Font, Color)