Package jmri.jmrit.withrottle
Class WiThrottleCreationAction
java.lang.Object
javax.swing.AbstractAction
jmri.util.swing.JmriAbstractAction
jmri.jmrit.withrottle.WiThrottleCreationAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Start, and create if needed, the WiThrottle server.
- See Also:
-
Field Summary
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wiFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
ConstructorsConstructorDescriptionCreate a new network server.Create a new network server.WiThrottleCreationAction(String s, Icon i, WindowInterface wi) -
Method Summary
Modifier and TypeMethodDescriptionvoidStart the server end of WiThrottle.Methods inherited from class jmri.util.swing.JmriAbstractAction
dispose, setContext, setHint, setName, setParameter, setParameter, setWindowInterface, toStringMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Constructor Details
-
WiThrottleCreationAction
-
WiThrottleCreationAction
-
WiThrottleCreationAction
Create a new network server.- Parameters:
name- Labels frame in GUI
-
WiThrottleCreationAction
public WiThrottleCreationAction()Create a new network server.
-
-
Method Details
-
actionPerformed
Start the server end of WiThrottle.- Specified by:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classJmriAbstractAction- Parameters:
e- The event causing the action.
-
makePanel
- Specified by:
makePanelin classJmriAbstractAction
-