Package jmri.jmrit.decoderdefn
Class InstallDecoderFileAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.util.swing.JmriAbstractAction
-
- jmri.jmrit.decoderdefn.InstallDecoderURLAction
-
- jmri.jmrit.decoderdefn.InstallDecoderFileAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class InstallDecoderFileAction extends InstallDecoderURLAction
Install decoder definition from local file.- See Also:
XmlFile
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JFileChooser
fci
-
Fields inherited from class jmri.jmrit.decoderdefn.InstallDecoderURLAction
_who
-
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wi
-
-
Constructor Summary
Constructors Constructor Description InstallDecoderFileAction(java.lang.String s)
InstallDecoderFileAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
InstallDecoderFileAction(java.lang.String s, javax.swing.JPanel who)
InstallDecoderFileAction(java.lang.String s, WindowInterface wi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JmriPanel
makePanel()
(package private) java.net.URL
pickURL(javax.swing.JPanel who)
-
Methods inherited from class jmri.jmrit.decoderdefn.InstallDecoderURLAction
actionPerformed, checkFile, copyAndInstall, copyfile, readFile
-
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
-
-
-
-
Field Detail
-
fci
javax.swing.JFileChooser fci
-
-
Constructor Detail
-
InstallDecoderFileAction
public InstallDecoderFileAction(java.lang.String s, WindowInterface wi)
-
InstallDecoderFileAction
public InstallDecoderFileAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
-
InstallDecoderFileAction
public InstallDecoderFileAction(java.lang.String s)
-
InstallDecoderFileAction
public InstallDecoderFileAction(java.lang.String s, javax.swing.JPanel who)
-
-
Method Detail
-
pickURL
java.net.URL pickURL(javax.swing.JPanel who)
- Overrides:
pickURL
in classInstallDecoderURLAction
-
makePanel
public JmriPanel makePanel()
- Overrides:
makePanel
in classInstallDecoderURLAction
-
-