Class MergConnectionConfig
java.lang.Object
jmri.jmrix.AbstractConnectionConfig
jmri.jmrix.AbstractNetworkConnectionConfig
jmri.jmrix.can.adapters.gridconnect.net.ConnectionConfig
jmri.jmrix.can.adapters.gridconnect.net.MergConnectionConfig
- All Implemented Interfaces:
ConnectionConfig
Definition of objects to handle configuring a connection via a
NetworkDriverAdapter object.
-
Nested Class Summary
Nested classes/interfaces inherited from class jmri.jmrix.AbstractConnectionConfig
AbstractConnectionConfig.Option -
Field Summary
FieldsFields inherited from class jmri.jmrix.can.adapters.gridconnect.net.ConnectionConfig
NAMEFields inherited from class jmri.jmrix.AbstractNetworkConnectionConfig
adapter, adNameField, adNameFieldLabel, hostNameField, hostNameFieldLabel, init, intervalSpinner, outputIntervalLabel, outputIntervalReset, outputIntervalSpinner, portField, portFieldLabel, serviceTypeField, serviceTypeFieldLabel, showAutoConfigFields inherited from class jmri.jmrix.AbstractConnectionConfig
_details, additionalItems, cL, connectionNameField, connectionNameLabel, cR, gbLayout, NUMOPTIONS, options, showAdvanced, systemPrefixField, systemPrefixLabel -
Constructor Summary
ConstructorsConstructorDescriptionCtor for a connection configuration with no preexisting adapter.Create a connection configuration with a preexisting adapter. -
Method Summary
Modifier and TypeMethodDescriptionprotected ResourceBundlename()protected voidLoad the adapter with an appropriate object unless it's already been set.Methods inherited from class jmri.jmrix.can.adapters.gridconnect.net.ConnectionConfig
checkInitDone, isOptList1Advanced, isPortAdvanced, loadDetails, updateUserNameFieldMethods inherited from class jmri.jmrix.AbstractNetworkConnectionConfig
addStandardDetails, checkOptionValueValidity, dispose, getAdapter, getConnectionName, getDisabled, getInfo, getManufacturer, isAutoConfigPossible, isHostNameAdvanced, setAutoNetworkConfig, setDisabled, setManufacturer, showAdvancedItems, updateAdapterMethods inherited from class jmri.jmrix.AbstractConnectionConfig
addNameEntryCheckers, addStandardDetails, isDirty, isRestartRequired, register
-
Field Details
-
MERG_NAME
- See Also:
-
-
Constructor Details
-
MergConnectionConfig
Create a connection configuration with a preexisting adapter. This is used principally when loading a configuration that defines this connection.- Parameters:
p- the adapter to create a connection configuration for
-
MergConnectionConfig
public MergConnectionConfig()Ctor for a connection configuration with no preexisting adapter.setInstance()will fill the adapter member.
-
-
Method Details
-
name
- Specified by:
namein interfaceConnectionConfig- Overrides:
namein classConnectionConfig
-
setInstance
Load the adapter with an appropriate object unless it's already been set.- Overrides:
setInstancein classConnectionConfig
-
getActionModelResourceBundle
- Overrides:
getActionModelResourceBundlein classConnectionConfig
-