Package jmri.jmris.srcp
Class JmriSRCPServerPreferences
- java.lang.Object
-
- jmri.beans.UnboundBean
-
- jmri.beans.Bean
-
- jmri.jmris.AbstractServerPreferences
-
- jmri.jmris.srcp.JmriSRCPServerPreferences
-
- All Implemented Interfaces:
BeanInterface
,PropertyChangeFirer
,PropertyChangeProvider
public class JmriSRCPServerPreferences extends AbstractServerPreferences
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_PORT
(package private) static java.lang.String
PORT
(package private) static java.lang.String
XML_PREFS_ELEMENT
-
Fields inherited from class jmri.beans.Bean
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description JmriSRCPServerPreferences()
JmriSRCPServerPreferences(java.lang.String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getDefaultPort()
-
Methods inherited from class jmri.jmris.AbstractServerPreferences
apply, compareValuesDifferent, getPort, isDirty, isRestartRequired, load, openFile, readPreferences, save, setPort, store
-
Methods inherited from class jmri.beans.Bean
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, isNotifyOnEDT, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from class jmri.beans.UnboundBean
getIndexedProperty, getProperty, getPropertyNames, hasIndexedProperty, hasProperty, setIndexedProperty, setProperty
-
-
-
-
Field Detail
-
DEFAULT_PORT
public static final int DEFAULT_PORT
- See Also:
- Constant Field Values
-
XML_PREFS_ELEMENT
static final java.lang.String XML_PREFS_ELEMENT
- See Also:
- Constant Field Values
-
PORT
static final java.lang.String PORT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JmriSRCPServerPreferences
public JmriSRCPServerPreferences(java.lang.String fileName)
-
JmriSRCPServerPreferences
public JmriSRCPServerPreferences()
-
-
Method Detail
-
getDefaultPort
public int getDefaultPort()
- Specified by:
getDefaultPort
in classAbstractServerPreferences
-
-