jmri.jmrix
Class AbstractSimulatorConnectionConfig

Show UML class diagram
java.lang.Object
  extended by jmri.jmrix.AbstractConnectionConfig
      extended by jmri.jmrix.AbstractSimulatorConnectionConfig
All Implemented Interfaces:
ConnectionConfig
Direct Known Subclasses:
ConnectionConfig

public abstract class AbstractSimulatorConnectionConfig
extends AbstractConnectionConfig
implements ConnectionConfig

Abstract base class for common implementation of the Simulator ConnectionConfig Currently uses the serial adapter, but this will change to the simulator adapter in due course.


Constructor Summary
AbstractSimulatorConnectionConfig()
          Ctor for a functional object with no prexisting adapter.
AbstractSimulatorConnectionConfig(SerialPortAdapter p)
          Ctor for an object being created during load process Currently uses the serialportadapter, but this will change to a simulator port adapter in due course.
 
Method Summary
 void dispose()
           
 SerialPortAdapter getAdapter()
           
 String getConnectionName()
           
 String getInfo()
           
 String getManufacturer()
           
 void loadDetails(JPanel details)
           
 void setManufacturer(String manufacturer)
           
 
Methods inherited from class jmri.jmrix.AbstractConnectionConfig
isOptList1Advanced, isOptList2Advanced
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jmri.jmrix.ConnectionConfig
name
 

Constructor Detail

AbstractSimulatorConnectionConfig

public AbstractSimulatorConnectionConfig(SerialPortAdapter p)
Ctor for an object being created during load process Currently uses the serialportadapter, but this will change to a simulator port adapter in due course.


AbstractSimulatorConnectionConfig

public AbstractSimulatorConnectionConfig()
Ctor for a functional object with no prexisting adapter. Expect that the subclass setInstance() will fill the adapter member.

Method Detail

getAdapter

public SerialPortAdapter getAdapter()

getInfo

public String getInfo()
Specified by:
getInfo in interface ConnectionConfig
Specified by:
getInfo in class AbstractConnectionConfig

loadDetails

public void loadDetails(JPanel details)
Specified by:
loadDetails in interface ConnectionConfig
Specified by:
loadDetails in class AbstractConnectionConfig

getManufacturer

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

setManufacturer

public void setManufacturer(String manufacturer)
Specified by:
setManufacturer in interface ConnectionConfig
Specified by:
setManufacturer in class AbstractConnectionConfig

getConnectionName

public String getConnectionName()
Specified by:
getConnectionName in interface ConnectionConfig
Specified by:
getConnectionName in class AbstractConnectionConfig

dispose

public void dispose()
Specified by:
dispose in interface ConnectionConfig


Copyright © 1997 - 2010 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