Class LoadStoreBaseAction

  • All Implemented Interfaces:
    java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
    Direct Known Subclasses:
    LoadXmlConfigAction, StoreXmlConfigAction

    public abstract class LoadStoreBaseAction
    extends javax.swing.AbstractAction
    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:
    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
    • Constructor Summary

      Constructors 
      Constructor Description
      LoadStoreBaseAction​(java.lang.String s)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static javax.swing.JFileChooser getAllFileChooser()  
      protected static javax.swing.JFileChooser getConfigFileChooser()  
      static javax.swing.JFileChooser getUserFileChooser()  
      • 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
      • Methods inherited from interface javax.swing.Action

        accept
      • Methods inherited from interface java.awt.event.ActionListener

        actionPerformed