Package | Description |
---|---|
com.dlsc.formsfx.model.structure |
Modifier and Type | Method and Description |
---|---|
SingleSelectionField<V> |
SingleSelectionField.bind(ListProperty<V> itemsBinding,
ObjectProperty<V> selectionBinding)
Binds the given items and selection property with the corresponding
fields.
|
SingleSelectionField<V> |
SingleSelectionField.deselect()
Removes the selection on the current field.
|
SingleSelectionField<V> |
SingleSelectionField.items(List<V> newValue)
Updates the list of available items to a new list, without a
pre-defined selection.
|
SingleSelectionField<V> |
SingleSelectionField.items(List<V> newValue,
int newSelection)
Updates the list of available items to a new list, along with a
pre-defined selection.
|
static <T> SingleSelectionField<T> |
Field.ofSingleSelectionType(List<T> items)
Creates a new
SingleSelectionField with the given items and no
pre-defined selection. |
static <T> SingleSelectionField<T> |
Field.ofSingleSelectionType(List<T> items,
int selection)
Creates a new
SingleSelectionField with the given items and a
pre-defined selection. |
static <T> SingleSelectionField<T> |
Field.ofSingleSelectionType(ListProperty<T> itemsBinding,
ObjectProperty<T> selectionBinding)
Creates a new
SingleSelectionField with the given properties for
items and selection. |
SingleSelectionField<V> |
SingleSelectionField.select(int index)
Sets the selection to the element at the given index.
|
SingleSelectionField<V> |
SingleSelectionField.unbind(ListProperty<V> itemsBinding,
ObjectProperty<V> selectionBinding)
Unbinds the given items and selection property with the corresponding
fields.
|
SingleSelectionField<V> |
SingleSelectionField.validate(Validator<V>... newValue)
Sets the list of validators for the current field.
|
Copyright © 2017. All rights reserved.