jmri.jmrix.easydcc.networkdriver
Class ConnectionConfig
java.lang.Object
jmri.jmrix.AbstractConnectionConfig
jmri.jmrix.easydcc.networkdriver.ConnectionConfig
- All Implemented Interfaces:
- ConnectionConfig
public class ConnectionConfig
- extends AbstractConnectionConfig
Definition of objects to handle configuring an EasyDCC layout connection
via a NetworkDriverAdapter object.
- Author:
- Bob Jacobsen Copyright (C) 2001, 2003
|
Method Summary |
String |
getInfo()
Reimplement this method to show the connected host,
rather than the usual port name. |
void |
loadDetails(JPanel details)
|
String |
name()
|
protected void |
setInstance()
Load the adapter with an appropriate object
unless its already been set. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
host
public JTextField host
port
public JTextField port
ConnectionConfig
public ConnectionConfig(String h,
String 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()
loadDetails
public void loadDetails(JPanel details)
- Specified by:
loadDetails in interface ConnectionConfig- Overrides:
loadDetails in class AbstractConnectionConfig
getInfo
public String getInfo()
- Reimplement this method to show the connected host,
rather than the usual port name.
- Specified by:
getInfo in interface ConnectionConfig- Overrides:
getInfo in class AbstractConnectionConfig
- Returns:
- human-readable connection information
setInstance
protected void setInstance()
- Description copied from class:
AbstractConnectionConfig
- Load the adapter with an appropriate object
unless its already been set.
- Specified by:
setInstance 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: