Package ij.plugin
Class Resizer
- java.lang.Object
-
- ij.plugin.Resizer
-
- All Implemented Interfaces:
PlugIn,java.awt.event.ItemListener,java.awt.event.TextListener,java.util.EventListener
public class Resizer extends java.lang.Object implements PlugIn, java.awt.event.TextListener, java.awt.event.ItemListener
This plugin implements the Edit/Crop and Image/Adjust/Size commands.
-
-
Constructor Summary
Constructors Constructor Description Resizer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiditemStateChanged(java.awt.event.ItemEvent e)voidrun(java.lang.String arg)This method is called when the plugin is loaded.voidsetAverageWhenDownsizing(boolean averageWhenDownsizing)voidtextValueChanged(java.awt.event.TextEvent e)ImagePluszScale(ImagePlus imp, int newDepth, int interpolationMethod)
-
-
-
Field Detail
-
IN_PLACE
public static final int IN_PLACE
- See Also:
- Constant Field Values
-
SCALE_T
public static final int SCALE_T
- See Also:
- Constant Field Values
-
-
Method Detail
-
run
public void run(java.lang.String arg)
Description copied from interface:PlugInThis method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.
-
textValueChanged
public void textValueChanged(java.awt.event.TextEvent e)
- Specified by:
textValueChangedin interfacejava.awt.event.TextListener
-
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent e)
- Specified by:
itemStateChangedin interfacejava.awt.event.ItemListener
-
setAverageWhenDownsizing
public void setAverageWhenDownsizing(boolean averageWhenDownsizing)
-
-