Package jmri.script.swing
Class InputWindowAction
java.lang.Object
javax.swing.AbstractAction
jmri.script.swing.InputWindowAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Direct Known Subclasses:
InputWindowAction
This Action runs creates an InputWindow for sending input to the global
jython interpreter
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoking this action via an event triggers display of a file dialog.getFrame()Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
f
-
-
Constructor Details
-
InputWindowAction
Constructor just initializes parent class.- Parameters:
name- Action name
-
InputWindowAction
public InputWindowAction()
-
-
Method Details
-
actionPerformed
Invoking this action via an event triggers display of a file dialog. If a file is selected, it's then invoked as a script. -
getFrame
-