jmri.configurexml
Class LoadXmlUserAction

Show UML class diagram
java.lang.Object
  extended by javax.swing.AbstractAction
      extended by jmri.configurexml.LoadStoreBaseAction
          extended by jmri.configurexml.LoadXmlConfigAction
              extended by jmri.configurexml.LoadXmlUserAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class LoadXmlUserAction
extends LoadXmlConfigAction

Load configuration information from an XML file.

The file context for this is the "user" 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.

See Also:
XmlFile, Serialized Form

Field Summary
(package private) static org.slf4j.Logger log
           
(package private) static ResourceBundle rb
           
 
Fields inherited from class jmri.configurexml.LoadStoreBaseAction
allFileChooser, configFileChooser, userFileChooser
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields 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
LoadXmlUserAction()
           
LoadXmlUserAction(String s)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
Methods inherited from class jmri.configurexml.LoadXmlConfigAction
getFile, getFileCustom, loadFile
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rb

static final ResourceBundle rb

log

static org.slf4j.Logger log
Constructor Detail

LoadXmlUserAction

public LoadXmlUserAction()

LoadXmlUserAction

public LoadXmlUserAction(String s)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener
Overrides:
actionPerformed in class LoadXmlConfigAction


Copyright © 1997-2013 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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads