jmri.jmrix.lenz.xnetsimulator
Class ConnectionConfig

java.lang.Object
  extended by jmri.jmrix.AbstractConnectionConfig
      extended by jmri.jmrix.AbstractSimulatorConnectionConfig
          extended by jmri.jmrix.lenz.xnetsimulator.ConnectionConfig
All Implemented Interfaces:
ConnectionConfig

public class ConnectionConfig
extends AbstractSimulatorConnectionConfig

Handle configuring an XPressNet layout connection via a XNetSimulator adapter.

This uses the XNetSimulatorAdapter class to do the actual connection.

See Also:
XNetSimulatorAdapter

Nested Class Summary
 
Nested classes/interfaces inherited from class jmri.jmrix.AbstractConnectionConfig
AbstractConnectionConfig.Option
 
Field Summary
(package private)  String manufacturerName
           
 
Fields inherited from class jmri.jmrix.AbstractSimulatorConnectionConfig
adapter, baudList, connectionName, init, log, systemPrefix
 
Fields inherited from class jmri.jmrix.AbstractConnectionConfig
_details, additionalItems, connectionNameField, connectionNameLabel, NUMOPTIONS, options, pref, showAdvanced, systemPrefixField, systemPrefixLabel
 
Constructor Summary
ConnectionConfig()
          Ctor for a functional Swing object with no prexisting adapter
ConnectionConfig(SerialPortAdapter p)
          Ctor for an object being created during load process; Swing init is deferred.
 
Method Summary
 String getManufacturer()
           
 String name()
           
protected  void setInstance()
          Load the adapter with an appropriate object unless its already been set.
 void setManufacturer(String manu)
           
 
Methods inherited from class jmri.jmrix.AbstractSimulatorConnectionConfig
checkInitDone, dispose, getAdapter, getConnectionName, getDisabled, getInfo, loadDetails, setDisabled, showAdvancedItems, updateAdapter
 
Methods inherited from class jmri.jmrix.AbstractConnectionConfig
addStandardDetails
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manufacturerName

String manufacturerName
Constructor Detail

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

Method Detail

name

public String name()

getManufacturer

public String getManufacturer()
Specified by:
getManufacturer in interface ConnectionConfig
Overrides:
getManufacturer in class AbstractSimulatorConnectionConfig

setManufacturer

public void setManufacturer(String manu)
Specified by:
setManufacturer in interface ConnectionConfig
Overrides:
setManufacturer in class AbstractSimulatorConnectionConfig

setInstance

protected void setInstance()
Description copied from class: AbstractSimulatorConnectionConfig
Load the adapter with an appropriate object unless its already been set.

Specified by:
setInstance in class AbstractSimulatorConnectionConfig


Copyright © 1997-2013 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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads