stella.jview
Class JTargetHelper.DurationAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by stella.jview.TargetAction
          extended by stella.jview.JTargetHelper.DurationAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
JTargetHelper

public class JTargetHelper.DurationAction
extends TargetAction

The action that allows input of a target duration.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
JTargetHelper.DurationAction(String name, String accel, String tip)
          Constructs a new duration action for entering the target duration.
 
Method Summary
 void actionPerformed(ActionEvent ae)
          The time entered is in seconds and is converted into millisec on the target.
 
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
 

Constructor Detail

JTargetHelper.DurationAction

public JTargetHelper.DurationAction(String name,
                                    String accel,
                                    String tip)
Constructs a new duration action for entering the target duration.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent ae)
The time entered is in seconds and is converted into millisec on the target.