SelectionField holds a list of values. Users can select one or more
of these values, depending on the concrete type of the field.
| Modifier and Type | Field and Description |
|---|---|
| protected final ListProperty | items
Stores a typed list of available items on this field. |
| Access | Constructor and Description |
|---|---|
| protected | SelectionField(ListProperty<V>
The list of available items on the field. items)Internal constructor for the |
| Modifier and Type | Method and Description |
|---|---|
| public ObservableList | |
| public ListProperty | |
| protected boolean | |
| protected abstract boolean | Returns: Returns whether the input matches the required condition.Validates that the new field input matches the required condition. |
| items | back to summary |
|---|---|
| protected final ListProperty<V> items Stores a typed list of available items on this field. | |
| SelectionField | back to summary |
|---|---|
| protected SelectionField(ListProperty<V> items) Internal constructor for the
| |
| getItems | back to summary |
|---|---|
| public ObservableList | |
| itemsProperty | back to summary |
|---|---|
| public ListProperty | |
| validate | back to summary |
|---|---|
| protected boolean validate(List<String> errorMessages) Validates a user input based on the field's selection and its validation
rules. Also considers the | |
| validateRequired | back to summary |
|---|---|
| protected abstract boolean validateRequired() Validates that the new field input matches the required condition.
| |