JAI ImageIO plugins for ImageJ - API

net.sf.ij.plugin
Class ImageIOOpenPlugin

java.lang.Object
  extended bynet.sf.ij.plugin.ImageIOOpenPlugin
All Implemented Interfaces:
ij.plugin.PlugIn

public class ImageIOOpenPlugin
extends java.lang.Object
implements ij.plugin.PlugIn

Opens file chooser dialog and open the image using JAI codec.

Version:
$Revision: 1.3 $
Author:
Jarek Sacha

Field Summary
static java.lang.String ARG_IMAGE_PREVIEW
          Argument passed to run method to use open dialog with an image preview.
static java.lang.String ARG_SIMPLE
          Argument passed to run method to use standard Image/J open dialog.
 
Constructor Summary
ImageIOOpenPlugin()
           
 
Method Summary
 void run(java.lang.String arg)
          Main processing method for the ImageIOOpenPlugin object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARG_SIMPLE

public static final java.lang.String ARG_SIMPLE
Argument passed to run method to use standard Image/J open dialog.

See Also:
Constant Field Values

ARG_IMAGE_PREVIEW

public static final java.lang.String ARG_IMAGE_PREVIEW
Argument passed to run method to use open dialog with an image preview.

See Also:
Constant Field Values
Constructor Detail

ImageIOOpenPlugin

public ImageIOOpenPlugin()
Method Detail

run

public void run(java.lang.String arg)
Main processing method for the ImageIOOpenPlugin object. Type of the file dialog is determined by value of arg. If it is equal ARG_IMAGE_PREVIEW then file chooser with image preview will be used. By default standard Image/J's open dialog is used.

Specified by:
run in interface ij.plugin.PlugIn
Parameters:
arg - Can be user to specify type of the open dialog.

SourceForge.net Logo