Package jmri.jmrit.roster
Class RecreateRosterAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.util.swing.JmriAbstractAction
-
- jmri.jmrit.roster.RecreateRosterAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class RecreateRosterAction extends JmriAbstractAction
Recreate the roster index file if it's been damaged or lost.Scans the roster directory for xml files, including any that are found.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wi
-
-
Constructor Summary
Constructors Constructor Description RecreateRosterAction()
RecreateRosterAction(java.lang.String s)
RecreateRosterAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
RecreateRosterAction(java.lang.String s, WindowInterface wi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
JmriPanel
makePanel()
-
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
-
RecreateRosterAction
public RecreateRosterAction(java.lang.String s, WindowInterface wi)
-
RecreateRosterAction
public RecreateRosterAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
-
RecreateRosterAction
public RecreateRosterAction()
-
RecreateRosterAction
public RecreateRosterAction(java.lang.String s)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Overrides:
actionPerformed
in classJmriAbstractAction
-
makePanel
public JmriPanel makePanel()
- Specified by:
makePanel
in classJmriAbstractAction
-
-