jmri.jmrix.lenz.hornbyelite
Class ConnectionConfig

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

public class ConnectionConfig
extends AbstractConnectionConfig

Handle configuring an XPressNet layout connection via the built in USB port on the Hornby Elite.

This uses the EliteAdapter class to do the actual connection.

Author:
Bob Jacobsen Copyright (C) 2001, 2003, Paul Bender Copyright (C) 2008
See Also:
EliteAdapter

Field Summary
 
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(SerialPortAdapter p)
          Ctor for an object being created during load process; Swing init is deferred.
 
Method Summary
 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, getInfo, loadDetails
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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()

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: SourceForge_Logo