Class PreferencesAdapter
java.lang.Object
org.bidib.wizard.mvc.preferences.model.listener.PreferencesAdapter
- All Implemented Interfaces:
PreferencesListener
The PreferencesAdapter is the default implementation of PresenceListener. Use this class as base class and only
implement the required methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidplainTcpEnabledChanged(boolean tcpEnabled) The plainTcpEnabled flag has changed.voidprevSelectedComPortChanged(String prevSelectedComPort) voidprevSelectedSerialSymLinkChanged(String prevSelectedSerialSymLink) voidprevSelectedTcpHostChanged(String prevSelectedTcpHost) voidprevSelectedUdpHostChanged(String prevSelectedUdpHost) voidpropertyChanged(String propertyName, Object oldValue, Object newValue) A property has changed.voidptModeDoNotConfirmSwitchChanged(boolean ptModeDoNotConfirmSwitch) The ptModeDoNotConfirmSwitch flag has changed.voidresetReconnectDelayChanged(int resetReconnectDelay) The reset reconnect delay has changed.voidresponseTimeoutChanged(int responseTimeout) The response timeout has changed.voidserialEnabledChanged(boolean serialEnabled) The serialEnabled flag has changed.voidshowBoosterTableChanged(boolean powerUser) The showBoosterTable flag has changed.voidstartTimeChanged(Date startTime) The start time has changed.voidtcpEnabledChanged(boolean tcpEnabled) The tcpEnabled flag has changed.voidtimeFactorChanged(int timeFactor) The time factor has changed.voidudpEnabledChanged(boolean udpEnabled) The udpEnabled flag has changed.
-
Constructor Details
-
PreferencesAdapter
public PreferencesAdapter()
-
-
Method Details
-
prevSelectedSerialSymLinkChanged
- Specified by:
prevSelectedSerialSymLinkChangedin interfacePreferencesListener- Parameters:
prevSelectedSerialSymLink- the prev selected serial symlink has changed
-
prevSelectedComPortChanged
- Specified by:
prevSelectedComPortChangedin interfacePreferencesListener- Parameters:
prevSelectedComPort- the prev selected com port has changed
-
prevSelectedUdpHostChanged
- Specified by:
prevSelectedUdpHostChangedin interfacePreferencesListener- Parameters:
prevSelectedUdpHost- the prev selected udp host has changed
-
prevSelectedTcpHostChanged
- Specified by:
prevSelectedTcpHostChangedin interfacePreferencesListener- Parameters:
prevSelectedTcpHost- the prev selected tcp host has changed
-
serialEnabledChanged
public void serialEnabledChanged(boolean serialEnabled) Description copied from interface:PreferencesListenerThe serialEnabled flag has changed.- Specified by:
serialEnabledChangedin interfacePreferencesListener- Parameters:
serialEnabled- the new serialEnabled flag
-
udpEnabledChanged
public void udpEnabledChanged(boolean udpEnabled) Description copied from interface:PreferencesListenerThe udpEnabled flag has changed.- Specified by:
udpEnabledChangedin interfacePreferencesListener- Parameters:
udpEnabled- the new udpEnabled flag
-
tcpEnabledChanged
public void tcpEnabledChanged(boolean tcpEnabled) Description copied from interface:PreferencesListenerThe tcpEnabled flag has changed.- Specified by:
tcpEnabledChangedin interfacePreferencesListener- Parameters:
tcpEnabled- the new tcpEnabled flag
-
plainTcpEnabledChanged
public void plainTcpEnabledChanged(boolean tcpEnabled) Description copied from interface:PreferencesListenerThe plainTcpEnabled flag has changed.- Specified by:
plainTcpEnabledChangedin interfacePreferencesListener- Parameters:
tcpEnabled- the new plainTcpEnabled flag
-
startTimeChanged
Description copied from interface:PreferencesListenerThe start time has changed.- Specified by:
startTimeChangedin interfacePreferencesListener- Parameters:
startTime- the new start time
-
timeFactorChanged
public void timeFactorChanged(int timeFactor) Description copied from interface:PreferencesListenerThe time factor has changed.- Specified by:
timeFactorChangedin interfacePreferencesListener- Parameters:
timeFactor- the new time factor
-
resetReconnectDelayChanged
public void resetReconnectDelayChanged(int resetReconnectDelay) Description copied from interface:PreferencesListenerThe reset reconnect delay has changed.- Specified by:
resetReconnectDelayChangedin interfacePreferencesListener- Parameters:
resetReconnectDelay- the new reset reconnect delay value
-
responseTimeoutChanged
public void responseTimeoutChanged(int responseTimeout) Description copied from interface:PreferencesListenerThe response timeout has changed.- Specified by:
responseTimeoutChangedin interfacePreferencesListener- Parameters:
responseTimeout- the new response timeout value
-
ptModeDoNotConfirmSwitchChanged
public void ptModeDoNotConfirmSwitchChanged(boolean ptModeDoNotConfirmSwitch) Description copied from interface:PreferencesListenerThe ptModeDoNotConfirmSwitch flag has changed.- Specified by:
ptModeDoNotConfirmSwitchChangedin interfacePreferencesListener- Parameters:
ptModeDoNotConfirmSwitch- the ptModeDoNotConfirmSwitch flag
-
showBoosterTableChanged
public void showBoosterTableChanged(boolean powerUser) Description copied from interface:PreferencesListenerThe showBoosterTable flag has changed.- Specified by:
showBoosterTableChangedin interfacePreferencesListener- Parameters:
powerUser- the showBoosterTable flag
-
propertyChanged
Description copied from interface:PreferencesListenerA property has changed.- Specified by:
propertyChangedin interfacePreferencesListener- Parameters:
propertyName- the property nameoldValue- the old property valuenewValue- the new property value
-