Package jmri.configurexml
Class LoadAndStorePreferences
- java.lang.Object
-
- jmri.beans.UnboundBean
-
- jmri.beans.Bean
-
- jmri.beans.PreferencesBean
-
- jmri.configurexml.LoadAndStorePreferences
-
- All Implemented Interfaces:
BeanInterface,PropertyChangeFirer,PropertyChangeProvider,InstanceManagerAutoDefault
public final class LoadAndStorePreferences extends PreferencesBean implements InstanceManagerAutoDefault
Preferences for Load and store tables and panel files.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEXCLUDE_FILE_HISTORYstatic java.lang.StringEXCLUDE_FONT_EXTENSIONSstatic java.lang.StringEXCLUDE_JMRI_VERSIONstatic java.lang.StringEXCLUDE_MEMORY_IMCURRENTTIMEstatic java.lang.StringEXCLUDE_TIMEBASE-
Fields inherited from class jmri.beans.PreferencesBean
DIRTY, RESTART_REQUIRED
-
Fields inherited from class jmri.beans.Bean
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description LoadAndStorePreferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(LoadAndStorePreferences prefs)booleancompareValuesDifferent(LoadAndStorePreferences prefs)booleanisExcludeFileHistory()booleanisExcludeFontExtensions()booleanisExcludeJmriVersion()booleanisExcludeMemoryIMCURRENTTIME()booleanisExcludeTimebase()voidsave()voidsetExcludeFileHistory(boolean value)voidsetExcludeFontExtensions(boolean value)voidsetExcludeJmriVersion(boolean value)voidsetExcludeMemoryIMCURRENTTIME(boolean value)voidsetExcludeTimebase(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
-
EXCLUDE_FILE_HISTORY
public static final java.lang.String EXCLUDE_FILE_HISTORY
- See Also:
- Constant Field Values
-
EXCLUDE_MEMORY_IMCURRENTTIME
public static final java.lang.String EXCLUDE_MEMORY_IMCURRENTTIME
- See Also:
- Constant Field Values
-
EXCLUDE_JMRI_VERSION
public static final java.lang.String EXCLUDE_JMRI_VERSION
- See Also:
- Constant Field Values
-
EXCLUDE_TIMEBASE
public static final java.lang.String EXCLUDE_TIMEBASE
- See Also:
- Constant Field Values
-
EXCLUDE_FONT_EXTENSIONS
public static final java.lang.String EXCLUDE_FONT_EXTENSIONS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LoadAndStorePreferences
public LoadAndStorePreferences()
-
-
Method Detail
-
compareValuesDifferent
public boolean compareValuesDifferent(LoadAndStorePreferences prefs)
-
apply
public void apply(LoadAndStorePreferences prefs)
-
save
public void save()
-
setExcludeFileHistory
public void setExcludeFileHistory(boolean value)
-
isExcludeFileHistory
public boolean isExcludeFileHistory()
-
setExcludeMemoryIMCURRENTTIME
public void setExcludeMemoryIMCURRENTTIME(boolean value)
-
isExcludeMemoryIMCURRENTTIME
public boolean isExcludeMemoryIMCURRENTTIME()
-
setExcludeJmriVersion
public void setExcludeJmriVersion(boolean value)
-
isExcludeJmriVersion
public boolean isExcludeJmriVersion()
-
setExcludeTimebase
public void setExcludeTimebase(boolean value)
-
isExcludeTimebase
public boolean isExcludeTimebase()
-
setExcludeFontExtensions
public void setExcludeFontExtensions(boolean value)
-
isExcludeFontExtensions
public boolean isExcludeFontExtensions()
-
-