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
public class MergConnectionConfig extends 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
Fields Modifier and Type Field Description static java.lang.StringMERG_NAME-
Fields inherited from class jmri.jmrix.can.adapters.gridconnect.net.ConnectionConfig
NAME
-
Fields inherited from class jmri.jmrix.AbstractNetworkConnectionConfig
adapter, adNameField, adNameFieldLabel, hostNameField, hostNameFieldLabel, init, intervalSpinner, outputIntervalLabel, outputIntervalReset, outputIntervalSpinner, portField, portFieldLabel, serviceTypeField, serviceTypeFieldLabel, showAutoConfig
-
Fields inherited from class jmri.jmrix.AbstractConnectionConfig
_details, additionalItems, cL, connectionNameField, connectionNameLabel, cR, gbLayout, NUMOPTIONS, options, showAdvanced, systemPrefixField, systemPrefixLabel
-
-
Constructor Summary
Constructors Constructor Description MergConnectionConfig()Ctor for a connection configuration with no preexisting adapter.MergConnectionConfig(NetworkPortAdapter p)Create a connection configuration with a preexisting adapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.ResourceBundlegetActionModelResourceBundle()java.lang.Stringname()protected voidsetInstance()Load 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, updateUserNameField
-
Methods inherited from class jmri.jmrix.AbstractNetworkConnectionConfig
addStandardDetails, checkOptionValueValidity, dispose, getAdapter, getConnectionName, getDisabled, getInfo, getManufacturer, isAutoConfigPossible, isHostNameAdvanced, setAutoNetworkConfig, setDisabled, setManufacturer, showAdvancedItems, updateAdapter
-
Methods inherited from class jmri.jmrix.AbstractConnectionConfig
addNameEntryCheckers, addStandardDetails, isDirty, isRestartRequired, register
-
-
-
-
Field Detail
-
MERG_NAME
public static final java.lang.String MERG_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MergConnectionConfig
public MergConnectionConfig(NetworkPortAdapter p)
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 Detail
-
name
public java.lang.String name()
- Specified by:
namein interfaceConnectionConfig- Overrides:
namein classConnectionConfig
-
setInstance
protected void setInstance()
Load the adapter with an appropriate object unless it's already been set.- Overrides:
setInstancein classConnectionConfig
-
getActionModelResourceBundle
protected java.util.ResourceBundle getActionModelResourceBundle()
- Overrides:
getActionModelResourceBundlein classConnectionConfig
-
-