Package jmri.jmrit.throttle
Class StoreDefaultXmlThrottlesLayoutAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.throttle.StoreDefaultXmlThrottlesLayoutAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class StoreDefaultXmlThrottlesLayoutAction extends javax.swing.AbstractAction
Save throttles to XML- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StoreDefaultXmlThrottlesLayoutAction(java.lang.String s)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)The action is performed.-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
StoreDefaultXmlThrottlesLayoutAction
public StoreDefaultXmlThrottlesLayoutAction(java.lang.String s)
Constructor- Parameters:
s- Name for the action.
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
The action is performed. Let the user choose the file to save to. Write XML for each ThrottleFrame.- Parameters:
e- The event causing the action.
-
-