stella.jview
Class JTypeHelper.GainAction

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

public class JTypeHelper.GainAction
extends TargetAction

The action that allows adjustment of a target gain.

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
JTypeHelper.GainAction(String name, String tip)
          Constructs a new constraints action.
 
Method Summary
 void actionPerformed(ActionEvent ae)
          The action command defines the id of the constraint to update.
 
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

JTypeHelper.GainAction

public JTypeHelper.GainAction(String name,
                              String tip)
Constructs a new constraints action. The different constraint are identified with their id.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent ae)
The action command defines the id of the constraint to update. Note that this actions are constructed and destroyed as the user enters mor info, thus we know that the telescope and the type has been specified if we end up here.