ij.plugin
Class StackEditor

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

public class StackEditor
extends java.lang.Object
implements PlugIn

Implements the AddSlice, DeleteSlice and "Convert Windows to Stack" commands.


Field Summary
(package private)  int height
           
(package private)  ImagePlus imp
           
(package private)  int nSlices
           
(package private)  int width
           
 
Constructor Summary
StackEditor()
           
 
Method Summary
(package private)  void addSlice()
           
 void convertImagesToStack()
           
 void convertStackToImages(ImagePlus imp)
           
(package private)  void deleteSlice()
           
(package private)  java.lang.String getTitle(ImagePlus imp, int n)
           
 void run(java.lang.String arg)
          'arg' must be "add", "delete" or "convert".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imp

ImagePlus imp

nSlices

int nSlices

width

int width

height

int height
Constructor Detail

StackEditor

public StackEditor()
Method Detail

run

public void run(java.lang.String arg)
'arg' must be "add", "delete" or "convert".

Specified by:
run in interface PlugIn

addSlice

void addSlice()

deleteSlice

void deleteSlice()

convertImagesToStack

public void convertImagesToStack()

convertStackToImages

public void convertStackToImages(ImagePlus imp)

getTitle

java.lang.String getTitle(ImagePlus imp,
                          int n)