Package jmri.jmrit.roster
Class FullBackupExportAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.util.swing.JmriAbstractAction
-
- jmri.jmrit.roster.FullBackupExportAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class FullBackupExportAction extends JmriAbstractAction
Offer an easy mechanism to save the entire roster contents from one instance of DecoderPro. The result is a zip format file, containing all of the roster entries plus the overall roster.xml index file.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wi
-
-
Constructor Summary
Constructors Constructor Description FullBackupExportAction(java.lang.String s, java.awt.Component parent)FullBackupExportAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)FullBackupExportAction(java.lang.String s, WindowInterface wi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)JmriPanelmakePanel()voidrun()Actually do the copying-
Methods inherited from class jmri.util.swing.JmriAbstractAction
dispose, setContext, setHint, setName, setParameter, setParameter, setWindowInterface, toString
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
FullBackupExportAction
public FullBackupExportAction(java.lang.String s, WindowInterface wi)
-
FullBackupExportAction
public FullBackupExportAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
-
FullBackupExportAction
public FullBackupExportAction(java.lang.String s, java.awt.Component parent)
- Parameters:
s- Name of this action, e.g. in menusparent- Component that action is associated with, used to ensure proper position in of dialog boxes
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener- Overrides:
actionPerformedin classJmriAbstractAction
-
run
public void run()
Actually do the copying
-
makePanel
public JmriPanel makePanel()
- Specified by:
makePanelin classJmriAbstractAction
-
-