Package jmri.jmris.simpleserver
Class SimpleServerPreferences
- java.lang.Object
-
- jmri.beans.UnboundBean
-
- jmri.beans.Bean
-
- jmri.jmris.AbstractServerPreferences
-
- jmri.jmris.simpleserver.SimpleServerPreferences
-
- All Implemented Interfaces:
BeanInterface
,PropertyChangeFirer
,PropertyChangeProvider
public class SimpleServerPreferences 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 SimpleServerPreferences()
SimpleServerPreferences(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
-
SimpleServerPreferences
public SimpleServerPreferences(java.lang.String fileName)
-
SimpleServerPreferences
public SimpleServerPreferences()
-
-
Method Detail
-
getDefaultPort
public int getDefaultPort()
- Specified by:
getDefaultPort
in classAbstractServerPreferences
-
-