Package jmri.jmrit.throttle
Class StoreXmlThrottlesLayoutAction
- java.lang.Object
- 
- javax.swing.AbstractAction
- 
- jmri.jmrit.throttle.StoreXmlThrottlesLayoutAction
 
 
- 
- All Implemented Interfaces:
- java.awt.event.ActionListener,- java.io.Serializable,- java.lang.Cloneable,- java.util.EventListener,- javax.swing.Action
 
 public class StoreXmlThrottlesLayoutAction extends javax.swing.AbstractAction Save throttles to XML- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description StoreXmlThrottlesLayoutAction()StoreXmlThrottlesLayoutAction(java.lang.String s)Constructor
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)The action is performed.voidsaveThrottlesLayout(java.io.File f)- 
Methods inherited from class javax.swing.AbstractActionaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
- 
 
- 
- 
- 
Constructor Detail- 
StoreXmlThrottlesLayoutActionpublic StoreXmlThrottlesLayoutAction(java.lang.String s) Constructor- Parameters:
- s- Name for the action.
 
 - 
StoreXmlThrottlesLayoutActionpublic StoreXmlThrottlesLayoutAction() 
 
- 
 - 
Method Detail- 
actionPerformedpublic 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.
 
 - 
saveThrottlesLayoutpublic void saveThrottlesLayout(java.io.File f) 
 
- 
 
-