jmri.jmrix.lenz.xntcp
Class ConnectionConfig
java.lang.Object
jmri.jmrix.AbstractConnectionConfig
jmri.jmrix.lenz.xntcp.ConnectionConfig
- All Implemented Interfaces:
- ConnectionConfig
public class ConnectionConfig
- extends AbstractConnectionConfig
Handle configuring an XPressNet layout connection
via a XnTcp adapter.
This uses the XnTcpAdapter class to do the actual
connection.
- Author:
- Giorgio Terdina Copyright (C) 2008, based on LI100 Action by Bob Jacobsen, Copyright (C) 2003
- See Also:
XnTcpAdapter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
portBox
protected JComboBox portBox
adapter
protected SerialPortAdapter adapter
ipField
protected JTextField ipField
portField
protected JTextField portField
manualInput
protected boolean manualInput
ConnectionConfig
public ConnectionConfig(SerialPortAdapter p)
- Ctor for an object being created during load process;
Swing init is deferred.
ConnectionConfig
public ConnectionConfig()
- Ctor for a functional Swing object with no prexisting adapter
name
public String name()
setInstance
protected void setInstance()
- Load the adapter with an appropriate object
unless it has already been set.
- Specified by:
setInstance in class AbstractConnectionConfig
getInfo
public String getInfo()
- Specified by:
getInfo in interface ConnectionConfig- Overrides:
getInfo in class AbstractConnectionConfig
loadDetails
public void loadDetails(JPanel details)
- Specified by:
loadDetails in interface ConnectionConfig- Overrides:
loadDetails in class AbstractConnectionConfig
Copyright © 1997 - 2008 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: