Package jmri.jmrit
Class XmlFileLocationAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.XmlFileLocationAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class XmlFileLocationAction extends javax.swing.AbstractAction
Swing action to display the JMRI directory locations.Although this has "XML" in its name, it's actually much more general. It displays:
- The user files and profiles directories
- The roster directory
- The preferences directory
- The program directory
- and any log files seen in the program directory
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlFileLocationAction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent ev)static java.lang.StringgetLocationsReport()-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
XmlFileLocationAction
public XmlFileLocationAction()
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)
-
getLocationsReport
public static java.lang.String getLocationsReport()
-
-