Package jmri.jmrix.anyma
Class AnymaDMX_ConnectionConfig
- java.lang.Object
-
- jmri.jmrix.AbstractConnectionConfig
-
- jmri.jmrix.AbstractUsbConnectionConfig
-
- jmri.jmrix.anyma.AnymaDMX_ConnectionConfig
-
- All Implemented Interfaces:
ConnectionConfig
public class AnymaDMX_ConnectionConfig extends AbstractUsbConnectionConfig
Definition of objects to handle configuring an Anyma DMX layout connection via a AnymaDMX_UsbPortAdapter object.This uses the
AnymaDMX_UsbPortAdapter
class to do the actual connection.- Since:
- 4.9.6
- See Also:
AnymaDMX_UsbPortAdapter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jmri.jmrix.AbstractConnectionConfig
AbstractConnectionConfig.Option
-
-
Field Summary
-
Fields inherited from class jmri.jmrix.AbstractUsbConnectionConfig
adapter, init, p, 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 AnymaDMX_ConnectionConfig()
Ctor for a connection configuration with no preexisting adapter.AnymaDMX_ConnectionConfig(AnymaDMX_UsbPortAdapter p)
Ctor for an object being created during load process; Swing init is deferred.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.String>
getPortNames()
java.lang.String
name()
protected void
setInstance()
Load the adapter with an appropriate object unless it's already been set.void
updateAdapter()
-
Methods inherited from class jmri.jmrix.AbstractUsbConnectionConfig
addStandardDetails, checkInitDone, dispose, getAdapter, getConnectionName, getDisabled, getInfo, getManufacturer, isPortAdvanced, loadDetails, refreshPortBox, setDisabled, setManufacturer, showAdvancedItems, updateUsbPortNames
-
Methods inherited from class jmri.jmrix.AbstractConnectionConfig
addNameEntryCheckers, addStandardDetails, isDirty, isRestartRequired, register
-
-
-
-
Constructor Detail
-
AnymaDMX_ConnectionConfig
public AnymaDMX_ConnectionConfig(AnymaDMX_UsbPortAdapter p)
Ctor for an object being created during load process; Swing init is deferred.- Parameters:
p
- the pre-existing adapter
-
AnymaDMX_ConnectionConfig
public AnymaDMX_ConnectionConfig()
Ctor for a connection configuration with no preexisting adapter.setInstance()
will fill the adapter member.
-
-
Method Detail
-
updateAdapter
public void updateAdapter()
- Overrides:
updateAdapter
in classAbstractUsbConnectionConfig
-
setInstance
protected void setInstance()
Load the adapter with an appropriate object unless it's already been set.- Specified by:
setInstance
in classAbstractConnectionConfig
-
name
public java.lang.String name()
-
getPortNames
@Nonnull protected java.util.List<java.lang.String> getPortNames()
- Overrides:
getPortNames
in classAbstractUsbConnectionConfig
-
-