Package jmri.jmrit.jython
Class JythonWindow
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.jython.JythonWindow
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class JythonWindow extends javax.swing.AbstractAction
This Action creates a JmriJFrame displaying the thread output log from theRunJythonScriptclass.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringalwaysOnTopCheckprotected javax.swing.JCheckBoxalwaysOnTopCheckBoxstatic java.lang.StringalwaysScrollCheck
-
Constructor Summary
Constructors Constructor Description JythonWindow()JythonWindow(java.lang.String name)Constructor just initializes parent class.
-
Method Summary
All 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.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
alwaysOnTopCheck
public static final java.lang.String alwaysOnTopCheck
-
alwaysScrollCheck
public static final java.lang.String alwaysScrollCheck
-
alwaysOnTopCheckBox
protected javax.swing.JCheckBox alwaysOnTopCheckBox
-
-
Constructor Detail
-
JythonWindow
public JythonWindow(java.lang.String name)
Constructor just initializes parent class.- Parameters:
name- Action name
-
JythonWindow
public JythonWindow()
-
-
Method Detail
-
actionPerformed
public 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.
-
getFrame
public javax.swing.JFrame getFrame()
-
-