jmri.configurexml
Class LoadXmlConfigAction
java.lang.Object
javax.swing.AbstractAction
jmri.configurexml.LoadStoreBaseAction
jmri.configurexml.LoadXmlConfigAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- LoadXmlUserAction
public class LoadXmlConfigAction
- extends LoadStoreBaseAction
Load configuration information from an XML file.
The file context for this is the "config" file chooser.
This will load whatever information types are present in the file.
See ConfigureManager for information on the various
types of information stored in configuration files.
- Author:
- Bob Jacobsen Copyright (C) 2002
- See Also:
XmlFile,
Serialized Form
LoadXmlConfigAction
public LoadXmlConfigAction()
LoadXmlConfigAction
public LoadXmlConfigAction(String s)
actionPerformed
public void actionPerformed(ActionEvent e)
loadFile
protected boolean loadFile(JFileChooser fileChooser)
- Parameters:
fileChooser -
- Returns:
- true if successful
getFile
public static File getFile(JFileChooser fileChooser)
Copyright © 1997 - 2009 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: