Uses of Class
com.dlsc.formsfx.model.structure.MultiSelectionField
| Package | Description |
|---|---|
| com.dlsc.formsfx.model.structure |
-
Uses of MultiSelectionField in com.dlsc.formsfx.model.structure
Methods in com.dlsc.formsfx.model.structure that return MultiSelectionField Modifier and Type Method Description MultiSelectionField<V>MultiSelectionField. bind(javafx.beans.property.ListProperty<V> itemsBinding, javafx.beans.property.ListProperty<V> selectionBinding)Binds the given items and selection property with the corresponding elements.MultiSelectionField<V>MultiSelectionField. deselect(int index)Removes the element at the given index from the current selection.MultiSelectionField<V>MultiSelectionField. items(List<V> newValue)Updates the list of available items to a new list, without a pre-defined selection.MultiSelectionField<V>MultiSelectionField. items(List<V> newValue, List<Integer> newSelection)Updates the list of available items to a new list, along with a pre-defined selection.static <T> MultiSelectionField<T>Field. ofMultiSelectionType(List<T> items)Creates a newMultiSelectionFieldwith the given items and no pre-defined selection.static <T> MultiSelectionField<T>Field. ofMultiSelectionType(List<T> items, List<Integer> selection)Creates a newMultiSelectionFieldwith the given items and a pre-defined selection.static <T> MultiSelectionField<T>Field. ofMultiSelectionType(javafx.beans.property.ListProperty<T> itemsBinding, javafx.beans.property.ListProperty<T> selectionBinding)Creates a newMultiSelectionFieldwith the given properties for items and selection.MultiSelectionField<V>MultiSelectionField. select(int index)Adds the element at the given index to the current selection.MultiSelectionField<V>MultiSelectionField. unbind(javafx.beans.property.ListProperty<V> itemsBinding, javafx.beans.property.ListProperty<V> selectionBinding)Unbinds the given items and selection property with the corresponding elements.MultiSelectionField<V>MultiSelectionField. validate(Validator<javafx.collections.ObservableList<V>>... newValue)Sets the list of validators for the current field.