Package jmri.jmrit.decoderdefn
Class NameCheckAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.decoderdefn.NameCheckAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Check the names in an XML decoder file against the names.xml definitions
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid(package private) org.jdom2.ElementRead and verify an XML file.Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
fci
-
_who
-
-
Constructor Details
-
NameCheckAction
-
-
Method Details
-
actionPerformed
-
readFile
Read and verify an XML file.- Parameters:
file- the file to read- Returns:
- the root element in the file
- Throws:
org.jdom2.JDOMException- if the file cannot be parsedIOException- if the file cannot be read
-