Class PiSprog3PlusConnectionConfig
- java.lang.Object
-
- jmri.jmrix.AbstractConnectionConfig
-
- jmri.jmrix.AbstractSerialConnectionConfig
-
- jmri.jmrix.can.adapters.ConnectionConfig
-
- jmri.jmrix.can.adapters.gridconnect.sproggen5.serialdriver.PiSprog3PlusConnectionConfig
-
- All Implemented Interfaces:
ConnectionConfig
public class PiSprog3PlusConnectionConfig extends 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, portBoxLabel
-
Fields inherited from class jmri.jmrix.AbstractConnectionConfig
_details, additionalItems, cL, connectionNameField, connectionNameLabel, cR, gbLayout, NUMOPTIONS, options, showAdvanced, systemPrefixField, systemPrefixLabel
-
-
Constructor Summary
Constructors Constructor Description PiSprog3PlusConnectionConfig()
Ctor for a connection configuration with no preexisting adapter.PiSprog3PlusConnectionConfig(SerialPortAdapter p)
Create a connection configuration with a preexisting adapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOptList2Advanced()
java.lang.String
name()
protected void
setInstance()
Load the adapter with an appropriate object unless it's already been set.-
Methods inherited from class jmri.jmrix.can.adapters.ConnectionConfig
checkInitDone, getActionModelResourceBundle, loadDetails
-
Methods inherited from class jmri.jmrix.AbstractSerialConnectionConfig
addStandardDetails, dispose, getAdapter, getConnectionName, getDisabled, getInfo, getManufacturer, getPortFriendlyNames, getPortNames, isBaudAdvanced, isPortAdvanced, refreshPortBox, setDisabled, setManufacturer, showAdvancedItems, updateAdapter, updateSerialPortNames
-
Methods inherited from class jmri.jmrix.AbstractConnectionConfig
addNameEntryCheckers, addStandardDetails, isDirty, isRestartRequired, register
-
-
-
-
Constructor Detail
-
PiSprog3PlusConnectionConfig
public PiSprog3PlusConnectionConfig(SerialPortAdapter 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
-
PiSprog3PlusConnectionConfig
public PiSprog3PlusConnectionConfig()
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:
name
in interfaceConnectionConfig
- Specified by:
name
in classConnectionConfig
-
isOptList2Advanced
public boolean isOptList2Advanced()
-
setInstance
protected void setInstance()
Load the adapter with an appropriate object unless it's already been set.- Specified by:
setInstance
in classConnectionConfig
-
-