Package jmri.configurexml
Class ShutdownPreferences
- java.lang.Object
-
- jmri.beans.UnboundBean
-
- jmri.beans.Bean
-
- jmri.beans.PreferencesBean
-
- jmri.configurexml.ShutdownPreferences
-
- All Implemented Interfaces:
BeanInterface
,PropertyChangeFirer
,PropertyChangeProvider
,InstanceManagerAutoDefault
public final class ShutdownPreferences extends PreferencesBean implements InstanceManagerAutoDefault
Preferences for Shutdown used by StoreAndCompare
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ShutdownPreferences.DialogDisplayOptions
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DISPLAY_DIALOG
static java.lang.String
ENABLE_STORE_CHECK
static java.lang.String
IGNORE_SENSORCOLORS
static java.lang.String
IGNORE_TIMEBASE
-
Fields inherited from class jmri.beans.PreferencesBean
DIRTY, RESTART_REQUIRED
-
Fields inherited from class jmri.beans.Bean
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description ShutdownPreferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(ShutdownPreferences prefs)
boolean
compareValuesDifferent(ShutdownPreferences prefs)
ShutdownPreferences.DialogDisplayOptions
getDisplayDialog()
boolean
isIgnoreSensorColorsEnabled()
boolean
isIgnoreTimebaseEnabled()
boolean
isStoreCheckEnabled()
void
save()
void
setDisplayDialog(ShutdownPreferences.DialogDisplayOptions value)
void
setEnableStoreCheck(boolean value)
void
setIgnoreSensorColors(boolean value)
void
setIgnoreTimebase(boolean value)
-
Methods inherited from class jmri.beans.PreferencesBean
firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getProfile, isDirty, isRestartRequired, setIsDirty, setRestartRequired
-
Methods inherited from class jmri.beans.Bean
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, isNotifyOnEDT, removePropertyChangeListener, removePropertyChangeListener
-
Methods inherited from class jmri.beans.UnboundBean
getIndexedProperty, getProperty, getPropertyNames, hasIndexedProperty, hasProperty, setIndexedProperty, setProperty
-
-
-
-
Field Detail
-
ENABLE_STORE_CHECK
public static final java.lang.String ENABLE_STORE_CHECK
- See Also:
- Constant Field Values
-
IGNORE_TIMEBASE
public static final java.lang.String IGNORE_TIMEBASE
- See Also:
- Constant Field Values
-
IGNORE_SENSORCOLORS
public static final java.lang.String IGNORE_SENSORCOLORS
- See Also:
- Constant Field Values
-
DISPLAY_DIALOG
public static final java.lang.String DISPLAY_DIALOG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ShutdownPreferences
public ShutdownPreferences()
-
-
Method Detail
-
compareValuesDifferent
public boolean compareValuesDifferent(ShutdownPreferences prefs)
-
apply
public void apply(ShutdownPreferences prefs)
-
save
public void save()
-
setEnableStoreCheck
public void setEnableStoreCheck(boolean value)
-
isStoreCheckEnabled
public boolean isStoreCheckEnabled()
-
setIgnoreTimebase
public void setIgnoreTimebase(boolean value)
-
isIgnoreTimebaseEnabled
public boolean isIgnoreTimebaseEnabled()
-
setIgnoreSensorColors
public void setIgnoreSensorColors(boolean value)
-
isIgnoreSensorColorsEnabled
public boolean isIgnoreSensorColorsEnabled()
-
setDisplayDialog
public void setDisplayDialog(ShutdownPreferences.DialogDisplayOptions value)
-
getDisplayDialog
public ShutdownPreferences.DialogDisplayOptions getDisplayDialog()
-
-