bd
Class BDUserInterface

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

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

This class links the BD classes.


Field Summary
protected  java.awt.Choice algorithmChoice
           
protected  java.lang.Class[] classifiers
           
protected  java.awt.Button count
           
protected static java.lang.String defaultDirectory
           
protected  java.awt.Choice derivChoice
           
protected  java.awt.Button detect
           
protected  java.awt.Label diagnosisLabel
           
protected  int[] iList
           
protected  java.awt.Choice imageChoice
           
protected  ij.ImagePlus imp
           
protected  java.awt.TextField pixelsField
           
protected  java.awt.TextField scaleField
           
protected  java.awt.Button separate
           
protected  java.awt.TextField threshField
           
protected  java.awt.Button variance
           
 
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, INTEGRATED_DENSITY, INVERT_Y, LABELS, LIMIT, MAX_STANDARDS, MEAN, MIN_MAX, MODE, PERIMETER, RECT, STD_DEV
 
Constructor Summary
BDUserInterface()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  java.awt.Choice CreateChoice(java.awt.Panel p, java.lang.String s, java.lang.String[] d, int i)
           
protected  java.awt.TextField CreateTextField(java.awt.Panel p, java.lang.String s, java.lang.String d, int i)
           
protected  double getDoubleField(java.awt.TextField t)
           
protected  int getIntField(java.awt.TextField t)
           
protected  java.lang.String[] getWindowNames(int[] windows)
           
protected  int[] getWindows()
           
 void itemStateChanged(java.awt.event.ItemEvent e)
           
 void lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
           
 void show()
           
 
Methods inherited from class ij.ImagePlus
, copy, copyScale, createEmptyStack, createImagePlus, createLut, createNewRoi, draw, draw, flush, getBitDepth, getCalibration, getClipboard, 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, invertLookupTable, isInvertedLut, isProcessor, killProcessor, killRoi, killStack, lock, lockSilently, mouseMoved, paste, 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
 

Field Detail

detect

protected java.awt.Button detect

count

protected java.awt.Button count

separate

protected java.awt.Button separate

variance

protected java.awt.Button variance

imageChoice

protected java.awt.Choice imageChoice

derivChoice

protected java.awt.Choice derivChoice

algorithmChoice

protected java.awt.Choice algorithmChoice

threshField

protected java.awt.TextField threshField

scaleField

protected java.awt.TextField scaleField

pixelsField

protected java.awt.TextField pixelsField

diagnosisLabel

protected java.awt.Label diagnosisLabel

defaultDirectory

protected static java.lang.String defaultDirectory

iList

protected int[] iList

classifiers

protected java.lang.Class[] classifiers

imp

protected ij.ImagePlus imp
Constructor Detail

BDUserInterface

public BDUserInterface()
Method Detail

show

public void 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

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

lostOwnership

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

CreateChoice

protected java.awt.Choice CreateChoice(java.awt.Panel p,
                                       java.lang.String s,
                                       java.lang.String[] d,
                                       int i)

CreateTextField

protected java.awt.TextField CreateTextField(java.awt.Panel p,
                                             java.lang.String s,
                                             java.lang.String d,
                                             int i)

getDoubleField

protected double getDoubleField(java.awt.TextField t)

getIntField

protected int getIntField(java.awt.TextField t)

getWindows

protected int[] getWindows()

getWindowNames

protected java.lang.String[] getWindowNames(int[] windows)