Package jmri.configurexml
Class LoadStoreBaseAction
java.lang.Object
javax.swing.AbstractAction
jmri.configurexml.LoadStoreBaseAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
- Direct Known Subclasses:
LoadXmlConfigAction,StoreXmlConfigAction
Base implementation for the load and store actions.
Primarily provides file checking services to the specific subclasses that
load/store particular types of data.
Also used to hold common information, specifically common instances of the JFileChooser. These bring the user back to the same place in the file system each time an action is invoked.
- See Also:
-
Field Summary
Fields 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 TypeMethodDescriptionprotected static JFileChooserprotected static JFileChooserstatic JFileChooserMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.awt.event.ActionListener
actionPerformed
-
Constructor Details
-
LoadStoreBaseAction
-
-
Method Details
-
getAllFileChooser
-
getConfigFileChooser
-
getUserFileChooser
-