Package jmri.util
Class EarlyInitializationPreferences
java.lang.Object
jmri.util.EarlyInitializationPreferences
Allow the user to configure properties that needs to be setup very early
when JMRI starts, for example before Swing starts up.
-
Method Summary
Modifier and TypeMethodDescriptionbooleangetPreference(String pref) Return the preferences set at startup.voidLoad the preferences at startup and set them.voidsetGUIForce100percentScaling(boolean value) voidsetPreference(String pref, String value)
-
Method Details
-
getInstance
-
getPreference
-
setPreference
-
getGUIForce100percentScaling
-
setGUIForce100percentScaling
-
loadAndSetPreferences
Load the preferences at startup and set them. -
getStartupPreferences
Return the preferences set at startup.- Returns:
- the preferences
-