- java.lang.Object
-
- ij.plugin.Resizer
-
- All Implemented Interfaces:
PlugIn,ItemListener,TextListener,EventListener
public class Resizer extends Object implements PlugIn, TextListener, 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(ItemEvent e)voidrun(String arg)This method is called when the plugin is loaded.voidsetAverageWhenDownsizing(boolean averageWhenDownsizing)voidtextValueChanged(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(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(TextEvent e)
- Specified by:
textValueChangedin interfaceTextListener
-
itemStateChanged
public void itemStateChanged(ItemEvent e)
- Specified by:
itemStateChangedin interfaceItemListener
-
setAverageWhenDownsizing
public void setAverageWhenDownsizing(boolean averageWhenDownsizing)
-
-