Package apps.gui3.tabbedpreferences
Provides the tabbed preferences window and its contents.
There is generally only one
TabbedPreferencesFrame
in the system,
containing the single TabbedPreferences
content object. Both are available in the InstanceManager
.
Various classes across JMRI show these by using
TabbedPreferencesAction
instances, or
instances of subclasses.
Related Documentation
Please see:The Startup Process
- During normal startup,
TabbedPreferencesAction
instance(s) are created for menus, etc. They don't reference theTabbedPreferences
orTabbedPreferencesFrame
objects at that point. - When a
TabbedPreferencesAction
is invoked, it asks theInstanceManager
for aTabbedPreferencesFrame
instance, creating and initializing it if needed. That in turn asks theInstanceManager
for aTabbedPreferences
instance, creating and initializing it if needed. - In some cases, the startup code needs a
TabbedPreferencesFrame
object. In those cases, that code asks theInstanceManager
for theTabbedPreferences
instance, again creating and initializing it if needed.
TabbedPreferences
and
defer the GUI creation (which is the majority of the time) to a separate
GUI-update thread.
- See Also:
PreferencesManager
,PreferencesPanel
,AppConfigBase
-
Class Summary Class Description Bundle EditConnectionPreferences Provide access to the connection preferences via a tabbed pane.EditConnectionPreferences.PreferencesCatItems EditConnectionPreferences.PreferencesCatItems.TabDetails EditConnectionPreferencesDialog Provide a Connection preferences dialog.TabbedPreferences Provide access to preferences via a tabbed pane.TabbedPreferences.PreferencesCatItems TabbedPreferences.PreferencesCatItems.TabDetails TabbedPreferencesAction Action launches the tabbed preferences window.TabbedPreferencesActionFactory Preferences startup action factory.TabbedPreferencesFrame Support displayingTabbedPreferences
in a window.TabbedPreferencesProfileAction Tabbed Preferences Action for going direct to Profiles.