Class GlobalOptions

java.lang.Object
All Implemented Interfaces:
AutoConfigurable, Buildable, Configurable, PropertyNameSource, ComponentDescription, ValidityChecker, Translatable, Auditable, ImageSearchTarget, SearchTarget

public class GlobalOptions extends AbstractConfigurable implements ComponentDescription
GlobalOptions is a junction point for several flavors of "preferences"-related categories. It also configures the toolbar buttons basic VASSAL functions: Undo, Step Forward, and show/hide Servers. Global Options is a Singleton.
(1) Its attributes, set in the Editor, control the module-designer-set "hybrid preference" categories (Allowing non-owners to unmask pieces, Enabling HTML chat, format of player ID in reports), determining whether the preference in question is forced on or off, or whether a player preference is used.
(2) Its sub-components allow the module designer to "create custom preferences" which appear in their own tab.
(3) Many of its fields, configured mostly in the addTo(VASSAL.build.Buildable) method, supply the majority of the preferences shown on the "General" tab, though some of that tab's preferences are also set elsewhere -- see:
Prefs - reading/writing the preference file, maintaining lists of configurers for tabs
Prefs.initSharedGlobalPrefs() - disable d3d pipeline, wizard support
BasicLogger - configurers for Undo and Step Forward. Adds logging-related preferences to pane
AdjustableSpeedScrollPane - scroll increment