motris.gui
Class TrackingController.LoadActorStateAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bymotris.gui.DropDownAction
          extended bymotris.gui.TrackingController.LoadActorStateAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, ImageSequenceData.TimeChangedListener, javax.swing.event.ListDataListener, java.io.Serializable
Enclosing class:
TrackingController

public class TrackingController.LoadActorStateAction
extends DropDownAction
implements ImageSequenceData.TimeChangedListener, javax.swing.event.ListDataListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
(package private)  javax.swing.JCheckBoxMenuItem automaticallyLoad
           
(package private)  javax.swing.JMenu dropDownMenu
           
 
Fields inherited from class motris.gui.DropDownAction
DROPDOWN_NAME, IS_SELECTED_KEY
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
TrackingController.LoadActorStateAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void contentsChanged(javax.swing.event.ListDataEvent e)
           
 javax.swing.JMenu getDropDownMenu(javax.swing.JComponent source)
           
 void intervalAdded(javax.swing.event.ListDataEvent e)
           
 void intervalRemoved(javax.swing.event.ListDataEvent e)
           
private  void loadActor(int time)
           
 void timeChanged(int previousTime, int newTime)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dropDownMenu

javax.swing.JMenu dropDownMenu

automaticallyLoad

javax.swing.JCheckBoxMenuItem automaticallyLoad
Constructor Detail

TrackingController.LoadActorStateAction

public TrackingController.LoadActorStateAction()
Method Detail

getDropDownMenu

public javax.swing.JMenu getDropDownMenu(javax.swing.JComponent source)
Specified by:
getDropDownMenu in class DropDownAction

loadActor

private void loadActor(int time)

actionPerformed

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

timeChanged

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

contentsChanged

public void contentsChanged(javax.swing.event.ListDataEvent e)
Specified by:
contentsChanged in interface javax.swing.event.ListDataListener

intervalAdded

public void intervalAdded(javax.swing.event.ListDataEvent e)
Specified by:
intervalAdded in interface javax.swing.event.ListDataListener

intervalRemoved

public void intervalRemoved(javax.swing.event.ListDataEvent e)
Specified by:
intervalRemoved in interface javax.swing.event.ListDataListener