stella.jview
Class JTargetHelper.TargetNameAction
java.lang.Object
javax.swing.AbstractAction
stella.jview.TargetAction
stella.jview.JTargetHelper.TargetNameAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- JTargetHelper
public class JTargetHelper.TargetNameAction
- extends TargetAction
The action that allows adjustment of the target name. If the main
parent is an action listener, this action event is also passed
to the action event listener, even without registering.
- See Also:
- Serialized Form
| 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 |
JTargetHelper.TargetNameAction
public JTargetHelper.TargetNameAction(String name,
String command,
String accel,
String tip)
- Constructs a new constraints action. The different constraint are
identified with their id.
actionPerformed
public void actionPerformed(ActionEvent ae)
- user has pressed the target name button. We set the target name
in the target helper and change the text on the target button
after the user has specified the name in a pop-up dialog
We use a resource bundle for proper localisation