Uses of Class
com.dlsc.formsfx.model.structure.SingleSelectionField
| Package | Description |
|---|---|
| com.dlsc.formsfx.model.structure |
-
Uses of SingleSelectionField in com.dlsc.formsfx.model.structure
Methods in com.dlsc.formsfx.model.structure that return SingleSelectionField Modifier and Type Method Description SingleSelectionField<V>SingleSelectionField. bind(javafx.beans.property.ListProperty<V> itemsBinding, javafx.beans.property.ObjectProperty<V> selectionBinding)Binds the given items and selection property with the corresponding elements.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 newSingleSelectionFieldwith the given items and no pre-defined selection.static <T> SingleSelectionField<T>Field. ofSingleSelectionType(List<T> items, int selection)Creates a newSingleSelectionFieldwith the given items and a pre-defined selection.static <T> SingleSelectionField<T>Field. ofSingleSelectionType(javafx.beans.property.ListProperty<T> itemsBinding, javafx.beans.property.ObjectProperty<T> selectionBinding)Creates a newSingleSelectionFieldwith 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(javafx.beans.property.ListProperty<V> itemsBinding, javafx.beans.property.ObjectProperty<V> selectionBinding)Unbinds the given items and selection property with the corresponding elements.SingleSelectionField<V>SingleSelectionField. validate(Validator<V>... newValue)Sets the list of validators for the current field.