edu.jhu.tmaj.client.frida.gui.masks.lasso
Class LassoMaskGui

java.lang.Object
  extended by edu.jhu.tmaj.client.frida.gui.masks.lasso.LassoMaskGui
All Implemented Interfaces:
MaskGui, MaskPanelListener

public final class LassoMaskGui
extends java.lang.Object
implements MaskGui, MaskPanelListener

The GUI component for the Lasso Mask. The Lasso mask is a free hand tool that allows the user to circle various regions on an image.


Constructor Summary
LassoMaskGui(LassoMask _lassoMask, java.util.List<ExternalFileCoordinate> imageFilesList, IASessionBean iaSessionBean, ImageAppGuis imageAppGuis)
           
 
Method Summary
 void addKeyListener(java.awt.event.KeyListener keyListener)
           
 javax.swing.JFrame getFrame()
           
 void imageClosed(ExternalFile file, ij.ImagePlus imagePlus)
           
 void imageOpened(ExternalFile file, ij.ImagePlus imagePlus)
           
 void setCoordinate(Coordinate coordinate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LassoMaskGui

public LassoMaskGui(LassoMask _lassoMask,
                    java.util.List<ExternalFileCoordinate> imageFilesList,
                    IASessionBean iaSessionBean,
                    ImageAppGuis imageAppGuis)
Method Detail

imageOpened

public void imageOpened(ExternalFile file,
                        ij.ImagePlus imagePlus)
Specified by:
imageOpened in interface MaskPanelListener

imageClosed

public void imageClosed(ExternalFile file,
                        ij.ImagePlus imagePlus)
Specified by:
imageClosed in interface MaskPanelListener

addKeyListener

public void addKeyListener(java.awt.event.KeyListener keyListener)

getFrame

public javax.swing.JFrame getFrame()
Specified by:
getFrame in interface MaskGui

setCoordinate

public void setCoordinate(Coordinate coordinate)
Specified by:
setCoordinate in interface MaskGui