BIJ API

FlowJ
Class FlowJUserInterface

java.lang.Object
  |
  +--ij.ImagePlus
        |
        +--FlowJ.FlowJUserInterface
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.datatransfer.ClipboardOwner, java.util.EventListener, java.awt.image.ImageObserver, ij.measure.Measurements

public class FlowJUserInterface
extends ij.ImagePlus
implements java.awt.event.ActionListener, java.awt.datatransfer.ClipboardOwner

This class links the FlowJ classes to the ImageJ interface.
Copyright (c) 1999-2003, Michael Abramoff. All rights reserved.


Fields inherited from class ij.ImagePlus
changes, COLOR_256, COLOR_RGB, GRAY16, GRAY32, GRAY8, height, img, ip, locked, pixelDepth, pixelHeight, pixelWidth, sCalibrated, unit, units, width, win
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Fields inherited from interface ij.measure.Measurements
AREA, CENTER_OF_MASS, CENTROID, CIRCULARITY, ELLIPSE, FERET, INVERT_Y, LABELS, LIMIT, MAX_STANDARDS, MEAN, MIN_MAX, MODE, PERIMETER, RECT, STD_DEV
 
Constructor Summary
FlowJUserInterface()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void computeSingleFrame(int frame)
          Compute the flow from the current stack.
(package private)  void copyToClipboard()
           
protected  void discoverEnvironment()
           
 void doCompute(boolean all)
          Compute the flow for a single or a range of frames in the stack.
static void error(java.lang.String s)
           
 void lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
           
 void show()
          Shows Dialog.
static void showProgress(float d)
           
static void showStatus(java.lang.String s)
           
static void write(java.lang.String s)
           
 
Methods inherited from class ij.ImagePlus
, copyScale, createEmptyStack, createImagePlus, createLut, createNewRoi, draw, draw, flush, getBitDepth, getCalibration, getCurrentSlice, getFFTLocation, getFileInfo, getHeight, getID, getImage, getLocationAsString, getMask, getOriginalFileInfo, getPixel, getProcessor, getProperties, getProperty, getRoi, getShortTitle, getStack, getStackSize, getStartTime, getStatistics, getStatistics, getStatistics, getStatistics, getTitle, getType, getWidth, getWindow, hide, imageUpdate, isInvertedLut, isProcessor, killProcessor, killRoi, killStack, lock, lockSilently, mouseMoved, repaintWindow, restoreRoi, revert, saveRoi, setActivated, setCalibration, setColor, setFileInfo, setGlobalCalibration, setIgnoreFlush, setImage, setProcessor, setProcessor2, setProperty, setRoi, setRoi, setRoi, setSlice, setStack, setTitle, setType, setupProcessor, setWindow, show, startTiming, toString, trimProcessor, undoFilter, unlock, updateAndDraw, updateAndRepaintWindow, updateImage, updateStatusbarValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlowJUserInterface

public FlowJUserInterface()
Method Detail

discoverEnvironment

protected void discoverEnvironment()

show

public void show()
Shows Dialog. Sets all parameter entries. Overrides ImagePlus.show().
Overrides:
show in class ij.ImagePlus

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

doCompute

public void doCompute(boolean all)
Compute the flow for a single or a range of frames in the stack. The parameters are read from the dialog window. The flows are left in the flow object.
Parameters:
all - indicates whether to compute only for a single frame or for all possible frames in the stack.

computeSingleFrame

public void computeSingleFrame(int frame)
                        throws FlowJException
Compute the flow from the current stack. The parameters are read from the dialog window. The flows are left in the flow object.
Parameters:
frame - the frame for which to compute the flow.
Throws:
FlowJException - if there were problems (including frame out of bounds).

copyToClipboard

void copyToClipboard()

lostOwnership

public void lostOwnership(java.awt.datatransfer.Clipboard clipboard,
                          java.awt.datatransfer.Transferable contents)
Specified by:
lostOwnership in interface java.awt.datatransfer.ClipboardOwner

showStatus

public static void showStatus(java.lang.String s)

write

public static void write(java.lang.String s)

showProgress

public static void showProgress(float d)

error

public static void error(java.lang.String s)

BIJ API

Submit a bug or feature

Copyright (c) 1997-2003 Michael Abramoff
Licensing available. All Rights Reserved.