jmri.jmrix.cmri.serial.serialdriver
Class ConnectionConfig

java.lang.Object
  extended by jmri.jmrix.AbstractConnectionConfig
      extended by jmri.jmrix.AbstractSerialConnectionConfig
          extended by jmri.jmrix.cmri.serial.serialdriver.ConnectionConfig
All Implemented Interfaces:
ConnectionConfig

public class ConnectionConfig
extends AbstractSerialConnectionConfig

Definition of objects to handle configuring a layout connection via an C/MRI SerialDriverAdapter object.


Nested Class Summary
 
Nested classes/interfaces inherited from class jmri.jmrix.AbstractConnectionConfig
AbstractConnectionConfig.Option
 
Field Summary
(package private)  JButton b
           
 
Fields inherited from class jmri.jmrix.AbstractSerialConnectionConfig
adapter, baudBox, baudBoxLabel, baudList, init, log, portBox, portBoxLabel
 
Fields inherited from class jmri.jmrix.AbstractConnectionConfig
_details, additionalItems, connectionName, connectionNameField, connectionNameLabel, NUMOPTIONS, options, pref, showAdvanced, systemPrefix, 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
protected  ResourceBundle getActionModelResourceBundle()
          This is purely here for systems that do not impliement the SystemConnectionMemo Acela, CAN BUS, CMRI, Grapevine, QSI, Zimo & RPS and can be removed one they have been migrated
 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.AbstractSerialConnectionConfig
addStandardDetails, addToActionList, checkInitDone, dispose, getAdapter, getConnectionName, getDisabled, getInfo, getManufacturer, getPortFriendlyNames, getPortNames, isBaudAdvanced, isPortAdvanced, refreshPortBox, removeFromActionList, setDisabled, setManufacturer, showAdvancedItems, updateAdapter, updateSerialPortNames
 
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

b

JButton b
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

loadDetails

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

getActionModelResourceBundle

protected ResourceBundle getActionModelResourceBundle()
Description copied from class: AbstractSerialConnectionConfig
This is purely here for systems that do not impliement the SystemConnectionMemo Acela, CAN BUS, CMRI, Grapevine, QSI, Zimo & RPS and can be removed one they have been migrated

Overrides:
getActionModelResourceBundle in class AbstractSerialConnectionConfig

name

public String name()

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


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