public class ListUtil
extends java.lang.Object
ListView and ComboBox| Constructor and Description |
|---|
ListUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
setupComboBox(@NonNull javafx.scene.control.ComboBox<T> comboBox,
@NonNull org.eclipse.core.databinding.observable.list.IObservableList list,
@NonNull java.lang.String template,
org.eclipse.core.databinding.property.value.IValueProperty... properties)
Setup a combo box where the template is used to format the property
values using
MessageFormat |
static <T> void |
setupComboBox(@NonNull javafx.scene.control.ComboBox<T> comboBox,
@NonNull org.eclipse.core.databinding.property.value.IValueProperty property)
Setup a combo box where the cell text is bound to the given property
|
static <T> void |
setupComboBox(@NonNull javafx.scene.control.ComboBox<T> comboBox,
@NonNull java.lang.String template,
org.eclipse.core.databinding.property.value.IValueProperty... properties)
Setup a combo box where the template is used to format the property
values using
MessageFormat |
static <T> void |
setupComboBox(@NonNull org.eclipse.core.databinding.observable.list.IObservableList list,
@NonNull javafx.scene.control.ComboBox<T> comboBox,
@NonNull org.eclipse.core.databinding.property.value.IValueProperty property)
Setup a combo box where the cell text is bound to the given property
|
static <T> void |
setupList(@NonNull javafx.scene.control.ListView<T> listView,
@NonNull org.eclipse.core.databinding.observable.list.IObservableList list,
@NonNull org.eclipse.core.databinding.property.value.IValueProperty property)
Setup a list where the cell text is bound to a given property
|
static <T> void |
setupList(@NonNull javafx.scene.control.ListView<T> listView,
@NonNull org.eclipse.core.databinding.observable.list.IObservableList list,
@NonNull java.lang.String template,
org.eclipse.core.databinding.property.value.IValueProperty... properties)
Setup a list where the template is used to format the property values
using
MessageFormat |
static <T> void |
setupList(@NonNull javafx.scene.control.ListView<T> listView,
@NonNull org.eclipse.core.databinding.property.value.IValueProperty property)
Setup a list where cell text is bound to the given property
|
static <T> void |
setupList(@NonNull javafx.scene.control.ListView<T> listView,
@NonNull java.lang.String template,
org.eclipse.core.databinding.property.value.IValueProperty... properties)
Setup a list where the template is used to format the property values
using
MessageFormat |
public static <T> void setupList(@NonNull javafx.scene.control.ListView<T> listView,
@NonNull org.eclipse.core.databinding.property.value.IValueProperty property)
listView - the list viewproperty - the text propertyPropertyListCellFaytory.textFactory(IValueProperty)public static <T> void setupList(@NonNull javafx.scene.control.ListView<T> listView,
@NonNull java.lang.String template,
org.eclipse.core.databinding.property.value.IValueProperty... properties)
MessageFormatlistView - the list viewtemplate - the template to useproperties - the properties to displayPropertyListCellFaytory.textCell(String, IValueProperty...)public static <T> void setupList(@NonNull javafx.scene.control.ListView<T> listView,
@NonNull org.eclipse.core.databinding.observable.list.IObservableList list,
@NonNull org.eclipse.core.databinding.property.value.IValueProperty property)
listView - the list viewlist - the list to set as the inputproperty - the propertysetupList(ListView, IValueProperty)public static <T> void setupList(@NonNull javafx.scene.control.ListView<T> listView,
@NonNull org.eclipse.core.databinding.observable.list.IObservableList list,
@NonNull java.lang.String template,
org.eclipse.core.databinding.property.value.IValueProperty... properties)
MessageFormatlistView - the list viewlist - the list to set as the inputtemplate - the templateproperties - the properties to displaysetupList(ListView, String, IValueProperty...)public static <T> void setupComboBox(@NonNull javafx.scene.control.ComboBox<T> comboBox,
@NonNull org.eclipse.core.databinding.property.value.IValueProperty property)
comboBox - the combo boxproperty - the propertyPropertyListCellFaytory.textFactory(IValueProperty),
PropertyListCellFaytory.textCell(IValueProperty)public static <T> void setupComboBox(@NonNull javafx.scene.control.ComboBox<T> comboBox,
@NonNull java.lang.String template,
org.eclipse.core.databinding.property.value.IValueProperty... properties)
MessageFormatcomboBox - the combo boxtemplate - the template to useproperties - the properties to displayPropertyListCellFaytory.textFactory(String, IValueProperty...),
PropertyListCellFaytory.textCell(String, IValueProperty...)public static <T> void setupComboBox(@NonNull org.eclipse.core.databinding.observable.list.IObservableList list,
@NonNull javafx.scene.control.ComboBox<T> comboBox,
@NonNull org.eclipse.core.databinding.property.value.IValueProperty property)
list - the list to set as the inputcomboBox - the combo boxproperty - the propertysetupComboBox(ComboBox, IValueProperty)public static <T> void setupComboBox(@NonNull javafx.scene.control.ComboBox<T> comboBox,
@NonNull org.eclipse.core.databinding.observable.list.IObservableList list,
@NonNull java.lang.String template,
org.eclipse.core.databinding.property.value.IValueProperty... properties)
MessageFormatcomboBox - the combo boxlist - the list to set as the inputtemplate - the template to useproperties - the properties to displaysetupComboBox(ComboBox, String, IValueProperty...)