Verified Owner
Top Description Fields Constructors Methods
org.jabref.gui.preferences.forms

public final Class FormMetrics

extends Object
Class Inheritance
Annotations
@NullMarked
Imports
org.jspecify.annotations.NullMarked

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.

Field Summary

Modifier and TypeField and Description
public static final double
BUTTON_WIDTH

Width of a labelled button in a button row, so that the buttons in one row are uniform.

public static final double
GAP

Gap between elements, both between rows and between an element and what is attached to it.

pack-priv static final double
pack-priv static final double
pack-priv static final double
pack-priv static final double

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BUTTON_WIDTHback to summary
public static final double BUTTON_WIDTH

Width of a labelled button in a button row, so that the buttons in one row are uniform.

GAPback to summary
public static final double GAP

Gap between elements, both between rows and between an element and what is attached to it.

ICON_BUTTON_SIZEback to summary
pack-priv static final double ICON_BUTTON_SIZE
INFO_LABEL_INDENTback to summary
pack-priv static final double INFO_LABEL_INDENT
LABEL_COLUMN_MIN_WIDTHback to summary
pack-priv static final double LABEL_COLUMN_MIN_WIDTH
SHORT_FIELD_WIDTHback to summary
pack-priv static final double SHORT_FIELD_WIDTH

Constructor Detail

FormMetricsback to summary
private FormMetrics()