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 classShutdownPreferences.DialogDisplayOptions
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDISPLAY_DIALOGstatic java.lang.StringENABLE_STORE_CHECKstatic java.lang.StringIGNORE_SENSORCOLORSstatic java.lang.StringIGNORE_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 voidapply(ShutdownPreferences prefs)booleancompareValuesDifferent(ShutdownPreferences prefs)ShutdownPreferences.DialogDisplayOptionsgetDisplayDialog()booleanisIgnoreSensorColorsEnabled()booleanisIgnoreTimebaseEnabled()booleanisStoreCheckEnabled()voidsave()voidsetDisplayDialog(ShutdownPreferences.DialogDisplayOptions value)voidsetEnableStoreCheck(boolean value)voidsetIgnoreSensorColors(boolean value)voidsetIgnoreTimebase(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()
-
-