| Modifier and Type | Field and Description |
|---|---|
| protected final InvalidationListener | bindingModeListener
With the continuous binding mode, values are always directly persisted upon any changes. |
| protected final BooleanProperty | |
| protected final BooleanProperty | |
| protected final ListProperty | |
| protected final ListProperty | errorMessages
The results of the field's validation is stored in this property. |
| protected final Map | |
| protected final StringProperty | id
Fields can be styled using CSS through ID or class hooks.
|
| protected final StringProperty | label
The label acts as a description for the field. |
| private static final String | |
| private Node | labelDescription
Additional descriptions for the field's label and value are stored in these properties. |
| private final StringProperty | |
| protected final StringProperty | |
| protected final StringProperty | placeholder
The placeholder is only visible in an empty field. |
| protected final StringProperty | |
| protected SimpleControl | |
| protected Supplier | |
| protected final BooleanProperty | |
| protected final StringProperty | |
| protected final StringProperty | requiredErrorKey
Every field can be marked as |
| protected final IntegerProperty | |
| protected final ListProperty | |
| protected final StringProperty | tooltip
The tooltip is an extension of the label. |
| protected final StringProperty | |
| protected TranslationService | translationService
The translation service is passed down from the containing section. |
| protected final BooleanProperty | valid
The field's current state is represented by the value properties, as
well as by the |
| private static final String | |
| private Node | |
| private final StringProperty |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Field | addEventHandler(EventType<FieldEvent>
the type of the events to receive by the handler eventType, EventHandler<? super FieldEvent> the handler to register eventHandler)Registers an event handler to this field. |
| private Label | |
| public BooleanProperty | |
| public F | Returns: Returns the current field to allow for chaining.The new value for the editable property. newValue)Sets the editable property of the current field. |
| public BooleanProperty | |
| public ListProperty | |
| protected void | |
| public List | |
| public String | |
| public Node | |
| public String | |
| public SimpleControl | |
| public String | |
| public Node | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public F | |
| public F | Returns: Returns the current field to allow for chaining.The new value for the label description property. newValue)Sets the label description property of the current field. |
| public F | Returns: Returns the current field to allow for chaining.The new value for the label description property,
wrapped with a newValue)Text.Sets the label description property of the current field. |
| public StringProperty | |
| public static BooleanField | Returns: Returns a newBooleanField.The initial value and persistent value of the field. defaultValue)Creates a new |
| public static BooleanField | Returns: Returns a newBooleanField.The property from the model to be bound with. binding)Creates a new |
| public static DateField | |
| public static DateField | Returns: Returns a newDateField.The property from the model to be bound with. binding)Creates a new |
| public static DoubleField | Returns: Returns a newDoubleField.The initial value and persistent value of the field. defaultValue)Creates a new |
| public static DoubleField | Returns: Returns a newDoubleField.The property from the model to be bound with. binding)Creates a new |
| public static IntegerField | Returns: Returns a newIntegerField.The initial value and persistent value of the field. defaultValue)Creates a new |
| public static IntegerField | Returns: Returns a newIntegerField.The property from the model to be bound with. binding)Creates a new |
| public static <T> MultiSelectionField | Returns: Returns a newMultiSelectionField.The list of available items on the field. items, List<Integer> The pre-defined indices of the selected items. selection)Creates a new |
| public static <T> MultiSelectionField | Returns: Returns a newMultiSelectionField.The list of available items on the field. items)Creates a new |
| public static <T> MultiSelectionField | Returns: Returns a newMultiSelectionField.The items property to be bound with. itemsBinding, ListProperty<T> The selection property to be bound with. selectionBinding)Creates a new |
| public static PasswordField | Returns: Returns a newPasswordField.The initial value and persistent value of the field. defaultValue)Creates a new |
| public static PasswordField | Returns: Returns a newPasswordField.The property from the model to be bound with. binding)Creates a new |
| public static <T> SingleSelectionField | Returns: Returns a newSingleSelectionField.The list of available items on the field. items, int The pre-defined index of the selected item. selection)Creates a new |
| public static <T> SingleSelectionField | Returns: Returns a newSingleSelectionField.The list of available items on the field. items)Creates a new |
| public static <T> SingleSelectionField | Returns: Returns a newSingleSelectionField.The items property to be bound with. itemsBinding, ObjectProperty<T> The selection property to be bound with. selectionBinding)Creates a new |
| public static StringField | Returns: Returns a newStringField.The initial value and persistent value of the field. defaultValue)Creates a new |
| public static StringField | Returns: Returns a newStringField.The property from the model to be bound with. binding)Creates a new |
| public F | Returns: Returns the current field to allow for chaining.The new value for the placeholder property. This can be the
label itself or a key that is then used for translation. newValue)Sets the placeholder property of the current field. |
| public StringProperty | |
| public Field | removeEventHandler(EventType<FieldEvent>
the event type from which to unregister eventType, EventHandler<? super FieldEvent> the handler to unregister eventHandler)Unregisters a previously registered event handler from this field. |
| public F | Returns: Returns the current field to allow for chaining.The new control to render the field. newValue)Sets the control that renders this field. |
| public F | Returns: Returns the current field to allow for chaining.The new control supplier to render the field. newValue)Sets the control supplier that renders this field. |
| public F | Returns: Returns the current field to allow for chaining.The new state of the required property. newValue)Sets the required property to for the current field without providing an error message. |
| public F | |
| public BooleanProperty | |
| public abstract void | setBindingMode(BindingMode
The new binding mode for the current field. newValue)Activates or deactivates the |
| public F | |
| public StringProperty | |
| public void | translate(TranslationService
The new service to use for translating translatable values. newValue)This internal method is called by the containing section when a new translation has been added to the form. |
| protected void | updateElement(StringProperty
The property that is displayed to the user. displayProperty, StringProperty The internal property that holds the translation key. keyProperty)Updates a displayable field property to include translated text. |
| pack-priv void | updateElement(Node
The property that is displayed to the user. node, StringProperty The internal property that holds the translation key. keyProperty)Updates a displayable field property to include translated text. |
| protected abstract boolean | Returns: Returns whether the user input is a valid value or not.Validates a user input based on the field's value transformer and its validation rules. |
| public BooleanProperty | |
| public F | Returns: Returns the current field to allow for chaining.The new value for the field description property. newValue)Sets the value description property of the current field. |
| public F | Returns: Returns the current field to allow for chaining.The new value for the field description property,
wrapped with a newValue)Text.Sets the value description property of the current field. |