Package jmri.util
Class HelpUtilPreferences
- java.lang.Object
-
- jmri.beans.UnboundBean
-
- jmri.beans.Bean
-
- jmri.beans.PreferencesBean
-
- jmri.util.HelpUtilPreferences
-
- All Implemented Interfaces:
BeanInterface
,PropertyChangeFirer
,PropertyChangeProvider
,InstanceManagerAutoDefault
public final class HelpUtilPreferences extends PreferencesBean implements InstanceManagerAutoDefault
Preferences for HelpUtil
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OPEN_HELP_ON_FILE
static java.lang.String
OPEN_HELP_ON_JMRI_WEB_SERVER
static java.lang.String
OPEN_HELP_ONLINE
-
Fields inherited from class jmri.beans.PreferencesBean
DIRTY, RESTART_REQUIRED
-
Fields inherited from class jmri.beans.Bean
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description HelpUtilPreferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(HelpUtilPreferences prefs)
boolean
compareValuesDifferent(HelpUtilPreferences prefs)
boolean
getOpenHelpOnFile()
boolean
getOpenHelpOnJMRIWebServer()
boolean
getOpenHelpOnline()
void
save()
void
setOpenHelpOnFile(boolean value)
void
setOpenHelpOnJMRIWebServer(boolean value)
void
setOpenHelpOnline(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
-
OPEN_HELP_ONLINE
public static final java.lang.String OPEN_HELP_ONLINE
- See Also:
- Constant Field Values
-
OPEN_HELP_ON_FILE
public static final java.lang.String OPEN_HELP_ON_FILE
- See Also:
- Constant Field Values
-
OPEN_HELP_ON_JMRI_WEB_SERVER
public static final java.lang.String OPEN_HELP_ON_JMRI_WEB_SERVER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
HelpUtilPreferences
public HelpUtilPreferences()
-
-
Method Detail
-
compareValuesDifferent
public boolean compareValuesDifferent(HelpUtilPreferences prefs)
-
apply
public void apply(HelpUtilPreferences prefs)
-
save
public void save()
-
setOpenHelpOnline
public void setOpenHelpOnline(boolean value)
-
getOpenHelpOnline
public boolean getOpenHelpOnline()
-
setOpenHelpOnFile
public void setOpenHelpOnFile(boolean value)
-
getOpenHelpOnFile
public boolean getOpenHelpOnFile()
-
setOpenHelpOnJMRIWebServer
public void setOpenHelpOnJMRIWebServer(boolean value)
-
getOpenHelpOnJMRIWebServer
public boolean getOpenHelpOnJMRIWebServer()
-
-