public class ListUtil
extends java.lang.Object
ListView and ComboBox| Constructor and Description |
|---|
ListUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
setupComboBox(javafx.scene.control.ComboBox<T> comboBox,
IObservableList list,
java.lang.String template,
IValueProperty... properties)
Setup a combo box where the template is used to format the property
values using
MessageFormat |
static <T> void |
setupComboBox(javafx.scene.control.ComboBox<T> comboBox,
IValueProperty property)
Setup a combo box where the cell text is bound to the given property
|
static <T> void |
setupComboBox(javafx.scene.control.ComboBox<T> comboBox,
java.lang.String template,
java.util.function.BiFunction<IValueProperty,java.lang.Object,java.lang.Object> converter,
IValueProperty... properties)
Setup a combo box where the template is used to format the property
values using
MessageFormat |
static <T> void |
setupComboBox(javafx.scene.control.ComboBox<T> comboBox,
java.lang.String template,
IValueProperty... properties)
Setup a combo box where the template is used to format the property
values using
MessageFormat |
static <T> void |
setupComboBox(IObservableList list,
javafx.scene.control.ComboBox<T> comboBox,
IValueProperty property)
Setup a combo box where the cell text is bound to the given property
|
static <T> void |
setupList(javafx.scene.control.ListView<T> listView,
<any> list,
java.lang.String template,
IValueProperty... properties)
Setup a list where the template is used to format the property values
using
MessageFormat |
static <T> void |
setupList(javafx.scene.control.ListView<T> listView,
IObservableList list,
java.util.function.BiFunction<IValueProperty,java.lang.Object,java.lang.Object> converter,
java.lang.String template,
IValueProperty... properties)
Setup a list where the template is used to format the property values
using
MessageFormat |
static <T> void |
setupList(javafx.scene.control.ListView<T> listView,
IObservableList list,
IValueProperty property)
Setup a list where the cell text is bound to a given property
|
static <T> void |
setupList(javafx.scene.control.ListView<T> listView,
IValueProperty property)
Setup a list where cell text is bound to the given property
|
static <T> void |
setupList(javafx.scene.control.ListView<T> listView,
java.lang.String template,
java.util.function.BiFunction<IValueProperty,java.lang.Object,java.lang.Object> converter,
IValueProperty... properties)
Setup a list where the template is used to format the property values
using
MessageFormat |
static <T> void |
setupList(javafx.scene.control.ListView<T> listView,
java.lang.String template,
IValueProperty... properties)
Setup a list where the template is used to format the property values
using
MessageFormat |
public static <T> void setupList(javafx.scene.control.ListView<T> listView,
IValueProperty property)
T - the list element typelistView - the list viewproperty - the text propertyPropertyListCellFaytory.textFactory(IValueProperty)public static <T> void setupList(javafx.scene.control.ListView<T> listView,
java.lang.String template,
IValueProperty... properties)
MessageFormatT - the list element typelistView - the list viewtemplate - the template to useproperties - the properties to displayPropertyListCellFaytory.textCell(String, IValueProperty...)public static <T> void setupList(javafx.scene.control.ListView<T> listView,
java.lang.String template,
java.util.function.BiFunction<IValueProperty,java.lang.Object,java.lang.Object> converter,
IValueProperty... properties)
MessageFormatT - the list element typelistView - the list viewtemplate - the template to useconverter - the converterproperties - the properties to displayPropertyListCellFaytory.textCell(String, IValueProperty...)public static <T> void setupList(javafx.scene.control.ListView<T> listView,
IObservableList list,
IValueProperty property)
T - the list element typelistView - the list viewlist - the list to set as the inputproperty - the propertysetupList(ListView, IValueProperty)public static <T> void setupList(javafx.scene.control.ListView<T> listView,
<any> list,
java.lang.String template,
IValueProperty... properties)
MessageFormatT - the list element typelistView - the list viewlist - the list to set as the inputtemplate - the templateproperties - the properties to displaysetupList(ListView, String, IValueProperty...)public static <T> void setupList(javafx.scene.control.ListView<T> listView,
IObservableList list,
java.util.function.BiFunction<IValueProperty,java.lang.Object,java.lang.Object> converter,
java.lang.String template,
IValueProperty... properties)
MessageFormatT - the list element typelistView - the list viewlist - the list to set as the inputconverter - the convertertemplate - the templateproperties - the properties to displaysetupList(ListView, String, IValueProperty...)public static <T> void setupComboBox(javafx.scene.control.ComboBox<T> comboBox,
IValueProperty property)
T - the combobox element typecomboBox - the combo boxproperty - the propertyPropertyListCellFaytory.textFactory(IValueProperty),
PropertyListCellFaytory.textCell(IValueProperty)public static <T> void setupComboBox(javafx.scene.control.ComboBox<T> comboBox,
java.lang.String template,
IValueProperty... properties)
MessageFormatT - the combobox element typecomboBox - the combo boxtemplate - the template to useproperties - the properties to displayPropertyListCellFaytory.textFactory(String, IValueProperty...),
PropertyListCellFaytory.textCell(String, IValueProperty...)public static <T> void setupComboBox(javafx.scene.control.ComboBox<T> comboBox,
java.lang.String template,
java.util.function.BiFunction<IValueProperty,java.lang.Object,java.lang.Object> converter,
IValueProperty... properties)
MessageFormatT - the combobox element typecomboBox - the combo boxtemplate - the template to useconverter - the converterproperties - the properties to displayPropertyListCellFaytory.textFactory(String, IValueProperty...),
PropertyListCellFaytory.textCell(String, IValueProperty...)public static <T> void setupComboBox(IObservableList list,
javafx.scene.control.ComboBox<T> comboBox,
IValueProperty property)
T - the combobox element typelist - the list to set as the inputcomboBox - the combo boxproperty - the propertysetupComboBox(ComboBox, IValueProperty)public static <T> void setupComboBox(javafx.scene.control.ComboBox<T> comboBox,
IObservableList list,
java.lang.String template,
IValueProperty... properties)
MessageFormatT - the combobox element typecomboBox - the combo boxlist - the list to set as the inputtemplate - the template to useproperties - the properties to displaysetupComboBox(ComboBox, String, IValueProperty...)