stella.jview
Class JTypeHelper.RequiresAction
java.lang.Object
javax.swing.AbstractAction
stella.jview.TargetAction
stella.jview.JTypeHelper.RequiresAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Enclosing class:
- JTypeHelper
public class JTypeHelper.RequiresAction
- extends TargetAction
The action that allows input of a requirement.
- 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 |
JTypeHelper.RequiresAction
public JTypeHelper.RequiresAction(String name,
String accel,
String tip)
- Constructs a new requires action for entering the target
requirement.
actionPerformed
public void actionPerformed(ActionEvent ae)
- The requirement should be a parsable boolean expression at run-time.
There is no possibility to check the validity here.
Setting a requirement is only possible if the type has been
specified.
We ask for a string here.