public final class Controls
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
resetComboBoxOptions(javafx.scene.control.ComboBox<T> control,
de.carne.util.DefaultSet<T> defaultSet,
java.util.Comparator<T> comparator)
Reset a
ComboBox's content and selection. |
public static <T> void resetComboBoxOptions(javafx.scene.control.ComboBox<T> control,
@Nullable
de.carne.util.DefaultSet<T> defaultSet,
java.util.Comparator<T> comparator)
ComboBox's content and selection.T - The ComboBox's element type.control - The ComboBox to reset.defaultSet - The DefaultSet to apply (may be null).comparator - The Comparator to use for combobox item sorting.