Class CanisbConnectionConfig
java.lang.Object
jmri.jmrix.AbstractConnectionConfig
jmri.jmrix.AbstractSerialConnectionConfig
jmri.jmrix.can.adapters.ConnectionConfig
jmri.jmrix.can.adapters.gridconnect.sproggen5.serialdriver.CanisbConnectionConfig
- All Implemented Interfaces:
ConnectionConfig
Definition of objects to handle configuring a layout connection via a SPROG
Generation 5 SerialDriverAdapter object.
-
Nested Class Summary
Nested classes/interfaces inherited from class jmri.jmrix.AbstractConnectionConfig
AbstractConnectionConfig.Option -
Field Summary
Fields inherited from class jmri.jmrix.AbstractSerialConnectionConfig
adapter, baudBox, baudBoxLabel, baudList, init, outputIntervalLabel, outputIntervalReset, outputIntervalSpinner, portBox, portBoxLabelFields 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 TypeMethodDescriptionbooleanname()protected voidLoad the adapter with an appropriate object unless it's already been set.Methods inherited from class jmri.jmrix.can.adapters.ConnectionConfig
checkInitDone, getActionModelResourceBundle, loadDetailsMethods inherited from class jmri.jmrix.AbstractSerialConnectionConfig
addStandardDetails, dispose, getAdapter, getConnectionName, getDisabled, getInfo, getManufacturer, getPortFriendlyNames, getPortNames, isBaudAdvanced, isPortAdvanced, refreshPortBox, setDisabled, setManufacturer, showAdvancedItems, updateAdapter, updateSerialPortNamesMethods inherited from class jmri.jmrix.AbstractConnectionConfig
addNameEntryCheckers, addStandardDetails, isDirty, isRestartRequired, register
-
Constructor Details
-
CanisbConnectionConfig
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
-
CanisbConnectionConfig
public CanisbConnectionConfig()Ctor for a connection configuration with no preexisting adapter.setInstance()will fill the adapter member.
-
-
Method Details
-
name
- Specified by:
namein interfaceConnectionConfig- Specified by:
namein classConnectionConfig
-
isOptList2Advanced
-
setInstance
Load the adapter with an appropriate object unless it's already been set.- Specified by:
setInstancein classConnectionConfig
-