Class LoadXmlUserAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.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

      • 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
    • Method Detail

      • getCurrentFile

        public static java.io.File getCurrentFile()
        Used by e.g. jmri.jmrit.mailreport.ReportPanel et al to know last load
        Returns:
        the last file loaded using this action; returns null if this action was not called or if the last time this action was called, no file was loaded