Package jmri.script.swing
Class InputWindowAction
- java.lang.Object
- 
- javax.swing.AbstractAction
- 
- jmri.script.swing.InputWindowAction
 
 
- 
- All Implemented Interfaces:
- java.awt.event.ActionListener,- java.io.Serializable,- java.lang.Cloneable,- java.util.EventListener,- javax.swing.Action
 - Direct Known Subclasses:
- InputWindowAction
 
 public class InputWindowAction extends javax.swing.AbstractAction This Action runs creates an InputWindow for sending input to the global jython interpreter- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description (package private) javax.swing.JFramef
 - 
Constructor SummaryConstructors Constructor Description InputWindowAction()InputWindowAction(java.lang.String name)Constructor just initializes parent class.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)Invoking this action via an event triggers display of a file dialog.javax.swing.JFramegetFrame()- 
Methods inherited from class javax.swing.AbstractActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
- 
 
- 
- 
- 
Field Detail- 
fjavax.swing.JFrame f 
 
- 
 - 
Constructor Detail- 
InputWindowActionpublic InputWindowAction(java.lang.String name) Constructor just initializes parent class.- Parameters:
- name- Action name
 
 - 
InputWindowActionpublic InputWindowAction() 
 
- 
 - 
Method Detail- 
actionPerformedpublic void actionPerformed(java.awt.event.ActionEvent e) Invoking this action via an event triggers display of a file dialog. If a file is selected, it's then invoked as a script.
 - 
getFramepublic javax.swing.JFrame getFrame() 
 
- 
 
-