ij.plugin
Class Scaler

java.lang.Object
  extended by ij.plugin.Scaler
All Implemented Interfaces:
PlugIn, java.awt.event.FocusListener, java.awt.event.TextListener, java.util.EventListener

public class Scaler
extends java.lang.Object
implements PlugIn, java.awt.event.TextListener, java.awt.event.FocusListener

This plugin implements the Edit/Scale command.


Constructor Summary
Scaler()
           
 
Method Summary
(package private)  void createNewStack(ImagePlus imp, ImageProcessor ip)
           
 void focusGained(java.awt.event.FocusEvent e)
           
 void focusLost(java.awt.event.FocusEvent e)
           
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
(package private)  void scale(ImageProcessor ip)
           
(package private)  boolean showDialog(ImageProcessor ip)
           
 void textValueChanged(java.awt.event.TextEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scaler

public Scaler()
Method Detail

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

createNewStack

void createNewStack(ImagePlus imp,
                    ImageProcessor ip)

scale

void scale(ImageProcessor ip)

showDialog

boolean showDialog(ImageProcessor ip)

textValueChanged

public void textValueChanged(java.awt.event.TextEvent e)
Specified by:
textValueChanged in interface java.awt.event.TextListener

focusGained

public void focusGained(java.awt.event.FocusEvent e)
Specified by:
focusGained in interface java.awt.event.FocusListener

focusLost

public void focusLost(java.awt.event.FocusEvent e)
Specified by:
focusLost in interface java.awt.event.FocusListener