motris.gui
Class ImageSequenceController

java.lang.Object
  extended bymotris.gui.ImageSequenceController
All Implemented Interfaces:
java.awt.event.ActionListener, javax.swing.event.ChangeListener, java.util.EventListener, ImageSequenceData.TimeChangedListener

public class ImageSequenceController
extends java.lang.Object
implements java.awt.event.ActionListener, ImageSequenceData.TimeChangedListener, javax.swing.event.ChangeListener

Toolbar with supporting Action classes for manipulating the ImageSequence settings (especially the current frame number)

Author:
Hendrik Dahlkamp

Nested Class Summary
 class ImageSequenceController.ImageSequenceGoToAction
           
 class ImageSequenceController.ImageSequencePropertiesAction
           
 class ImageSequenceController.LoadImageSequenceAction
           
 class ImageSequenceController.SaveImageSequenceAction
           
 
Field Summary
(package private)  javax.swing.JTextField currentTimeField
           
(package private)  javax.swing.JSlider currentTimeSlider
           
static java.lang.String DROPDOWN_MENU
           
(package private)  Experiment experiment
           
(package private)  ImageSequenceData imageSequenceData
           
 ImageSequenceController.ImageSequencePropertiesAction imageSequencePropertiesAction
           
(package private)  LayerViewer layerViewer
           
 ImageSequenceController.LoadImageSequenceAction loadImageSequenceAction
           
 ImageSequenceController.SaveImageSequenceAction saveImageSequenceAction
           
(package private)  SceneDescription scene
           
(package private)  javax.swing.JToolBar toolBar
           
 
Constructor Summary
ImageSequenceController(Experiment _experiment, LayerViewer _layerViewer)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 javax.swing.JToolBar getToolBar()
           
 void stateChanged(javax.swing.event.ChangeEvent e)
           
 void timeChanged(int previousTime, int newTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DROPDOWN_MENU

public static final java.lang.String DROPDOWN_MENU
See Also:
Constant Field Values

experiment

Experiment experiment

scene

SceneDescription scene

layerViewer

LayerViewer layerViewer

imageSequenceData

ImageSequenceData imageSequenceData

toolBar

javax.swing.JToolBar toolBar

loadImageSequenceAction

public ImageSequenceController.LoadImageSequenceAction loadImageSequenceAction

saveImageSequenceAction

public ImageSequenceController.SaveImageSequenceAction saveImageSequenceAction

imageSequencePropertiesAction

public ImageSequenceController.ImageSequencePropertiesAction imageSequencePropertiesAction

currentTimeField

javax.swing.JTextField currentTimeField

currentTimeSlider

javax.swing.JSlider currentTimeSlider
Constructor Detail

ImageSequenceController

public ImageSequenceController(Experiment _experiment,
                               LayerViewer _layerViewer)
Method Detail

getToolBar

public javax.swing.JToolBar getToolBar()

actionPerformed

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

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent e)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener

timeChanged

public void timeChanged(int previousTime,
                        int newTime)
Specified by:
timeChanged in interface ImageSequenceData.TimeChangedListener