Class LnTcpPreferences
java.lang.Object
jmri.beans.UnboundBean
jmri.beans.Bean
jmri.beans.PreferencesBean
jmri.jmrix.loconet.loconetovertcp.LnTcpPreferences
- All Implemented Interfaces:
BeanInterface,PropertyChangeFirer,PropertyChangeProvider
Preferences for the LocoNet over TCP server.
-
Field Summary
FieldsFields inherited from class jmri.beans.PreferencesBean
DIRTY, RESTART_REQUIREDFields inherited from class jmri.beans.Bean
propertyChangeSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LnTcpPreferencesintgetPort()Get the port used by the LocoNetOverTCP server.(package private) booleanvoidvoidsetPort(int value) Set the port used by the LocoNetOverTCP server.Methods inherited from class jmri.beans.PreferencesBean
firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getProfile, isDirty, isRestartRequired, setIsDirty, setRestartRequiredMethods inherited from class jmri.beans.Bean
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, isNotifyOnEDT, removePropertyChangeListener, removePropertyChangeListenerMethods inherited from class jmri.beans.UnboundBean
getIndexedProperty, getProperty, getPropertyNames, hasIndexedProperty, hasProperty, setIndexedProperty, setProperty
-
Field Details
-
PORT
- See Also:
-
-
Constructor Details
-
LnTcpPreferences
public LnTcpPreferences()
-
-
Method Details
-
getDefault
-
savePreferences
-
isPreferencesValid
boolean isPreferencesValid() -
getPort
Get the port used by the LocoNetOverTCP server.- Returns:
- the port
-
setPort
Set the port used by the LocoNetOverTCP server.- Parameters:
value- the port
-