Package jmri.jmrix.dccpp.swing
Class DCCppRosterExportAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrix.dccpp.swing.DCCppRosterExportAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class DCCppRosterExportAction extends javax.swing.AbstractAction
Menu action to Export all JMRI Roster Entries as ROSTER() macro calls This adds a menu item to the "DCC++" menu. Taking this option opens a window where the ROSTER() lines can be copied into your myAutomation.h Syntax: ROSTER(999,"Loco Name","F0/F1/*F2/F3/F4/F5/F6/F7/F8") NOTE: calls existing script for compatibility- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DCCppRosterExportAction()
DCCppRosterExportAction(java.lang.String s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
DCCppRosterExportAction
public DCCppRosterExportAction(java.lang.String s)
-
DCCppRosterExportAction
public DCCppRosterExportAction()
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
-