Class 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 the RunJythonScript class.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String alwaysOnTopCheck  
      protected javax.swing.JCheckBox alwaysOnTopCheckBox  
      static java.lang.String alwaysScrollCheck  
      • Fields inherited from class javax.swing.AbstractAction

        changeSupport, enabled
      • 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
    • 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
      void actionPerformed​(java.awt.event.ActionEvent e)
      Invoking this action via an event triggers display of a file dialog.
      javax.swing.JFrame getFrame()  
      • Methods inherited from class javax.swing.AbstractAction

        addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.Action

        accept
    • Constructor Detail

      • JythonWindow

        public JythonWindow​(java.lang.String name)
        Constructor just initializes parent class.
        Parameters:
        name - Action name
    • 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()