ij.plugin
Class Resizer
java.lang.Object
ij.plugin.Resizer
- All Implemented Interfaces:
- PlugIn, java.awt.event.ItemListener, java.util.EventListener, javax.swing.event.DocumentListener
public class Resizer
- extends java.lang.Object
- implements PlugIn, javax.swing.event.DocumentListener, java.awt.event.ItemListener
This plugin implements the Edit/Crop and Image/Adjust/Size commands.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Resizer
public Resizer()
run
public void run(java.lang.String arg)
- Description copied from interface:
PlugIn
- This method is called when the plugin is loaded.
'arg', which may be blank, is the argument specified
for this plugin in IJ_Props.txt.
- Specified by:
run
in interface PlugIn
zScale
public ImagePlus zScale(ImagePlus imp,
int newDepth,
int interpolationMethod)
textValueChanged
public void textValueChanged(javax.swing.event.DocumentEvent e)
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent e)
- Specified by:
itemStateChanged
in interface java.awt.event.ItemListener
insertUpdate
public void insertUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
insertUpdate
in interface javax.swing.event.DocumentListener
removeUpdate
public void removeUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
removeUpdate
in interface javax.swing.event.DocumentListener
changedUpdate
public void changedUpdate(javax.swing.event.DocumentEvent e)
- Specified by:
changedUpdate
in interface javax.swing.event.DocumentListener