jmri.jmrix
Class AbstractConnectionConfig
java.lang.Object
jmri.jmrix.AbstractConnectionConfig
- All Implemented Interfaces:
- ConnectionConfig
- Direct Known Subclasses:
- AbstractNetworkConnectionConfig, AbstractSerialConnectionConfig, AbstractSimulatorConnectionConfig
public abstract class AbstractConnectionConfig
- extends Object
- implements ConnectionConfig
Abstract base class for common implementation of the ConnectionConfig
- Author:
- Bob Jacobsen Copyright (C) 2001, 2003
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pref
protected final UserPreferencesManager pref
opt1Box
protected JComboBox opt1Box
opt1BoxLabel
protected JLabel opt1BoxLabel
opt2Box
protected JComboBox opt2Box
opt2BoxLabel
protected JLabel opt2BoxLabel
showAdvanced
protected JCheckBox showAdvanced
opt1List
protected String[] opt1List
opt2List
protected String[] opt2List
systemPrefixLabel
protected JLabel systemPrefixLabel
connectionNameLabel
protected JLabel connectionNameLabel
systemPrefixField
protected JTextField systemPrefixField
connectionNameField
protected JTextField connectionNameField
systemPrefix
protected String systemPrefix
connectionName
protected String connectionName
_details
protected JPanel _details
NUMOPTIONS
protected int NUMOPTIONS
log
protected static Logger log
AbstractConnectionConfig
public AbstractConnectionConfig()
- Ctor for a functional object with no prexisting adapter.
Expect that the subclass setInstance() will fill the adapter member.
setInstance
protected abstract void setInstance()
- Load the adapter with an appropriate object
unless its already been set.
getInfo
public abstract String getInfo()
- Specified by:
getInfo in interface ConnectionConfig
loadDetails
public abstract void loadDetails(JPanel details)
- Specified by:
loadDetails in interface ConnectionConfig
isOptList1Advanced
public boolean isOptList1Advanced()
isOptList2Advanced
public boolean isOptList2Advanced()
getManufacturer
public abstract String getManufacturer()
- Specified by:
getManufacturer in interface ConnectionConfig
setManufacturer
public abstract void setManufacturer(String manufacturer)
- Specified by:
setManufacturer in interface ConnectionConfig
getConnectionName
public abstract String getConnectionName()
- Specified by:
getConnectionName in interface ConnectionConfig
getDisabled
public abstract boolean getDisabled()
- Specified by:
getDisabled in interface ConnectionConfig
setDisabled
public abstract void setDisabled(boolean disable)
- Specified by:
setDisabled in interface ConnectionConfig
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: