ij.plugin
Class ScreenGrabber

java.lang.Object
  extended by ij.plugin.ScreenGrabber
All Implemented Interfaces:
PlugIn

public class ScreenGrabber
extends java.lang.Object
implements PlugIn

This plugin implements the Image/Flatten, Plugins/Utilities/Capture Screen and Plugins/Utilities/Capture Image commands.


Constructor Summary
ScreenGrabber()
           
 
Method Summary
 ImagePlus captureImage()
          Captures the active image window and returns it as an ImagePlus.
 ImagePlus captureScreen()
          Captures the entire screen and returns it as an ImagePlus.
 void run(java.lang.String arg)
          This method is called when the plugin is loaded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScreenGrabber

public ScreenGrabber()
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

captureScreen

public ImagePlus captureScreen()
Captures the entire screen and returns it as an ImagePlus.


captureImage

public ImagePlus captureImage()
Captures the active image window and returns it as an ImagePlus.