Package jmri.jmrix.internal
Class ConnectionConfig
java.lang.Object
jmri.jmrix.AbstractConnectionConfig
jmri.jmrix.AbstractSimulatorConnectionConfig
jmri.jmrix.internal.ConnectionConfig
- All Implemented Interfaces:
ConnectionConfig
Definition of objects to handle configuring a virtual layout connection.
-
Nested Class Summary
Nested classes/interfaces inherited from class jmri.jmrix.AbstractConnectionConfig
AbstractConnectionConfig.Option -
Field Summary
Fields inherited from class jmri.jmrix.AbstractSimulatorConnectionConfig
adapter, baudList, initFields inherited from class jmri.jmrix.AbstractConnectionConfig
_details, additionalItems, cL, connectionNameField, connectionNameLabel, cR, gbLayout, NUMOPTIONS, options, showAdvanced, systemPrefixField, systemPrefixLabel -
Constructor Summary
ConstructorsConstructorDescriptionCtor for a functional Swing object with no existing adapter.Ctor for an object being created during load process. -
Method Summary
Modifier and TypeMethodDescriptionname()protected voidLoad the adapter with an appropriate object unless it's already been set.Methods inherited from class jmri.jmrix.AbstractSimulatorConnectionConfig
checkInitDone, dispose, getAdapter, getConnectionName, getDisabled, getInfo, getManufacturer, loadDetails, setDisabled, setManufacturer, showAdvancedItems, updateAdapterMethods inherited from class jmri.jmrix.AbstractConnectionConfig
addNameEntryCheckers, addStandardDetails, isDirty, isRestartRequired, register
-
Constructor Details
-
ConnectionConfig
Ctor for an object being created during load process.- Parameters:
p- serial port adapter
-
ConnectionConfig
public ConnectionConfig()Ctor for a functional Swing object with no existing adapter.
-
-
Method Details
-
name
-
setInstance
Load the adapter with an appropriate object unless it's already been set.- Specified by:
setInstancein classAbstractSimulatorConnectionConfig
-