|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmri.jmrix.AbstractConnectionConfig
jmri.jmrix.nce.networkdriver.ConnectionConfig
public class ConnectionConfig
Definition of objects to handle configuring an NCE layout connection via a NetworkDriverAdapter object.
| Field Summary | |
|---|---|
JTextField |
host
|
JTextField |
port
|
| Fields inherited from class jmri.jmrix.AbstractConnectionConfig |
|---|
adapter, baudBox, log, opt1Box, opt2Box, portBox |
| Constructor Summary | |
|---|---|
ConnectionConfig()
Ctor for a functional Swing object with no prexisting adapter |
|
ConnectionConfig(String h,
String p,
String m)
Ctor for an object being created during load process; Swing init is deferred. |
|
| Method Summary | |
|---|---|
String |
getInfo()
Reimplement this method to show the connected host, rather than the usual port name. |
String |
getMode()
Access to current selected command station mode |
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 jmri.jmrix.AbstractConnectionConfig |
|---|
checkInitDone |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public JTextField host
public JTextField port
| Constructor Detail |
|---|
public ConnectionConfig(String h,
String p,
String m)
public ConnectionConfig()
| Method Detail |
|---|
public String name()
public void loadDetails(JPanel details)
loadDetails in interface ConnectionConfigloadDetails in class AbstractConnectionConfigpublic String getMode()
public String getInfo()
getInfo in interface ConnectionConfiggetInfo in class AbstractConnectionConfigprotected void setInstance()
AbstractConnectionConfig
setInstance in class AbstractConnectionConfig
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||