motris.gui
Class ActorController.SaveActorAction

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

public class ActorController.SaveActorAction
extends DropDownAction
implements ParameterizedObject.ParameterizedObjectManager, javax.swing.event.ListDataListener, ImageSequenceData.TimeChangedListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
(package private)  FileHistory fh
           
 
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
ActorController.SaveActorAction()
           
 
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)
           
 void loadSaveFile(java.lang.String fileName, boolean doLoad)
          Called (for example by FileHistory) with a filename from that the data for the managed object should be loaded
 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

fh

FileHistory fh
Constructor Detail

ActorController.SaveActorAction

public ActorController.SaveActorAction()
Method Detail

getDropDownMenu

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

actionPerformed

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

loadSaveFile

public void loadSaveFile(java.lang.String fileName,
                         boolean doLoad)
Description copied from interface: ParameterizedObject.ParameterizedObjectManager
Called (for example by FileHistory) with a filename from that the data for the managed object should be loaded

Specified by:
loadSaveFile in interface ParameterizedObject.ParameterizedObjectManager
Parameters:
fileName -

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

timeChanged

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