Package jmri.jmrix.dccpp.serial
Class ConnectionConfig
- java.lang.Object
- 
- jmri.jmrix.AbstractConnectionConfig
- 
- jmri.jmrix.AbstractSerialConnectionConfig
- 
- jmri.jmrix.dccpp.AbstractDCCppSerialConnectionConfig
- 
- jmri.jmrix.dccpp.serial.ConnectionConfig
 
 
 
 
- 
- All Implemented Interfaces:
- ConnectionConfig
 
 public class ConnectionConfig extends AbstractDCCppSerialConnectionConfig Handle configuring a DCC++ layout connection via a Serial adaptor.This uses the DCCppAdapterclass to do the actual connection.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jmri.jmrix.AbstractConnectionConfigAbstractConnectionConfig.Option
 
- 
 - 
Field Summary- 
Fields inherited from class jmri.jmrix.AbstractSerialConnectionConfigadapter, baudBox, baudBoxLabel, baudList, init, outputIntervalLabel, outputIntervalReset, outputIntervalSpinner, portBox, portBoxLabel
 - 
Fields inherited from class jmri.jmrix.AbstractConnectionConfig_details, additionalItems, cL, connectionNameField, connectionNameLabel, cR, gbLayout, NUMOPTIONS, options, showAdvanced, systemPrefixField, systemPrefixLabel
 
- 
 - 
Constructor SummaryConstructors Constructor Description ConnectionConfig()Ctor for a connection configuration with no preexisting adapter.ConnectionConfig(SerialPortAdapter p)Ctor for an object being created during load process; Swing init is deferred.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String[]getPortFriendlyNames()This provides a method to return potentially meaningful names that are used in OS to help identify ports against Hardware.java.lang.Stringname()protected voidsetInstance()Load the adapter with an appropriate object unless it's already been set.- 
Methods inherited from class jmri.jmrix.AbstractSerialConnectionConfigaddStandardDetails, checkInitDone, dispose, getActionModelResourceBundle, getAdapter, getConnectionName, getDisabled, getInfo, getManufacturer, getPortNames, isBaudAdvanced, isPortAdvanced, loadDetails, refreshPortBox, setDisabled, setManufacturer, showAdvancedItems, updateAdapter, updateSerialPortNames
 - 
Methods inherited from class jmri.jmrix.AbstractConnectionConfigaddNameEntryCheckers, addStandardDetails, isDirty, isRestartRequired, register
 
- 
 
- 
- 
- 
Constructor Detail- 
ConnectionConfigpublic ConnectionConfig(SerialPortAdapter p) Ctor for an object being created during load process; Swing init is deferred.- Parameters:
- p- serial port adapter.
 
 - 
ConnectionConfigpublic ConnectionConfig() Ctor for a connection configuration with no preexisting adapter.setInstance()will fill the adapter member.
 
- 
 - 
Method Detail- 
namepublic java.lang.String name() 
 - 
getPortFriendlyNamesprotected java.lang.String[] getPortFriendlyNames() Description copied from class:AbstractSerialConnectionConfigThis provides a method to return potentially meaningful names that are used in OS to help identify ports against Hardware.- Overrides:
- getPortFriendlyNamesin class- AbstractSerialConnectionConfig
- Returns:
- array of friendly port names
 
 - 
setInstanceprotected void setInstance() Load the adapter with an appropriate object unless it's already been set.- Specified by:
- setInstancein class- AbstractSerialConnectionConfig
 
 
- 
 
-