Package jmri.jmrit.withrottle
Class WiThrottleCreationAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.util.swing.JmriAbstractAction
-
- jmri.jmrit.withrottle.WiThrottleCreationAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class WiThrottleCreationAction extends JmriAbstractAction
Start, and create if needed, the WiThrottle server.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wi
-
-
Constructor Summary
Constructors Constructor Description WiThrottleCreationAction()
Create a new network server.WiThrottleCreationAction(java.lang.String name)
Create a new network server.WiThrottleCreationAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
WiThrottleCreationAction(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)
Start the server end of WiThrottle.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
-
WiThrottleCreationAction
public WiThrottleCreationAction(java.lang.String s, WindowInterface wi)
-
WiThrottleCreationAction
public WiThrottleCreationAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
-
WiThrottleCreationAction
public WiThrottleCreationAction(java.lang.String name)
Create a new network server.- Parameters:
name
- Labels frame in GUI
-
WiThrottleCreationAction
public WiThrottleCreationAction()
Create a new network server.
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
Start the server end of WiThrottle.- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Overrides:
actionPerformed
in classJmriAbstractAction
- Parameters:
e
- The event causing the action.
-
makePanel
public JmriPanel makePanel()
- Specified by:
makePanel
in classJmriAbstractAction
-
-