jmri.jmrix.loconet.locormi
Class ConnectionConfig
java.lang.Object
jmri.jmrix.AbstractConnectionConfig
jmri.jmrix.AbstractSerialConnectionConfig
jmri.jmrix.loconet.locormi.ConnectionConfig
- All Implemented Interfaces:
- ConnectionConfig
public class ConnectionConfig
- extends AbstractSerialConnectionConfig
Definition of objects to handle configuring the layout connection
via LocoNet RMI.
- Author:
- Bob Jacobsen Copyright (C) 2001, 2003
| Fields inherited from class jmri.jmrix.AbstractConnectionConfig |
_details, connectionName, connectionNameField, connectionNameLabel, NUMOPTIONS, opt1Box, opt1BoxLabel, opt1List, opt2Box, opt2BoxLabel, opt2List, pref, showAdvanced, systemPrefix, systemPrefixField, systemPrefixLabel |
| Methods inherited from class jmri.jmrix.AbstractSerialConnectionConfig |
addStandardDetails, addToActionList, checkInitDone, dispose, getActionModelResourceBundle, getAdapter, getConnectionName, getDisabled, isBaudAdvanced, isPortAdvanced, refreshPortBox, removeFromActionList, setDisabled, showAdvancedItems |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
host
public JTextField host
ConnectionConfig
public ConnectionConfig(String p,
String m)
- 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 AbstractSerialConnectionConfig
getInfo
public String getInfo()
- Reimplement this method to show the connected host,
rather than the usual port name.
If the connection isn't active, that's also indicated.
Do not use this to record the port name, as it also
contains that error information.
- Specified by:
getInfo in interface ConnectionConfig- Overrides:
getInfo in class AbstractSerialConnectionConfig
- Returns:
- Human-readable connection information
isOptList2Advanced
public boolean isOptList2Advanced()
- Overrides:
isOptList2Advanced in class AbstractConnectionConfig
setInstance
protected void setInstance()
- Description copied from class:
AbstractSerialConnectionConfig
- Load the adapter with an appropriate object
unless its already been set.
- Specified by:
setInstance in class AbstractSerialConnectionConfig
getManufacturer
public String getManufacturer()
- Specified by:
getManufacturer in interface ConnectionConfig- Overrides:
getManufacturer in class AbstractSerialConnectionConfig
setManufacturer
public void setManufacturer(String manu)
- Specified by:
setManufacturer in interface ConnectionConfig- Overrides:
setManufacturer in class AbstractSerialConnectionConfig
Copyright © 1997 - 2011 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: