- Complex preferences within an XML element provided by the object storing and retrieving the element.
- Simple preferences within a
- Complex user interface state within an XML element provided by the object storing and retrieving the element.
The public interfaces of these classes requires that a
Profile be passed so that these are ready to (even
though nothing currently uses this capability) handle multiple profiles, or
non-profile-specific preferences or state.
Note the above implies that it is critical that no method
in any class in this package refer to the results of
Class Summary Class Description AbstractConfigurationProvider AbstractPreferencesManagerAn abstract PreferencesManager that implements some of the boilerplate that PreferencesManager implementations would otherwise require. JmriConfiguration JmriConfigurationProviderProvides a general purpose XML element storage mechanism for the storage of configuration and preferences too complex to be handled by
JmriPreferencesActionFactoryThis class provides a method to create an action that launches preferences. JmriPreferencesProviderProvides instances of
Preferencesbacked by a JMRI-specific storage implementation based on a Properties file.
JmriUserInterfaceConfigurationProviderProvides a general purpose XML element storage mechanism for the storage of user interface configuration.
Exception Summary Exception Description HasConnectionButUnableToConnectExceptionAn exception thrown then there is a configured connection, but JMRI is unable to open that connection. InitializationExceptionThis exception represents an exception thrown while attempting to initialize a PreferencesProvider.