Package jmri.jmrix.dccpp.swing
Class DCCppRosterExportAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrix.dccpp.swing.DCCppRosterExportAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
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:
-
Field Summary
Fields 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
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
DCCppRosterExportAction
-
DCCppRosterExportAction
public DCCppRosterExportAction()
-
-
Method Details
-
actionPerformed
-