Verified Owner
Top Description Classes
module org.jabref

Package org.jabref.gui.preferences.forms


The form DSL of the preferences dialog: code-first replacements for the former FXML + controller pairs.

The builder

org.jabref.gui.preferences.forms.PreferencesFormBuilder assembles a tab's node tree. Its contract:

The editors

PasswordFieldEditor and TagsFieldEditor encapsulate control patterns that recur across tabs. Their conventions:

The tabs using this DSL live in the sibling packages of org.jabref.gui.preferences.

See Also
Preferences component, Form validation, ADR 0069: preferences search registration

Class Summary

Modifier and TypeClass and Description
public class
FormMetrics

The layout measurements a preference tab shares with PreferencesFormBuilder, so that a tab building part of its view by hand (the .custom(Node) hatch) lines up with the parts the builder laid out, rather than re-typing the numbers.

public class
PasswordFieldEditor

Custom editor: a bound EnhancedPasswordField with an optional row of icon buttons in its right slot.

public class
PreferencesFormBuilder

Fluent, eager builder that assembles a preference tab's node tree and wires all bindings.

public class
TagsFieldEditor

Custom editor: a fully-styled gemsfx TagsField bound to its value, with suggestion, converter and a removable tag view.