public final class BeanPropertyUtils
extends java.lang.Object
PropertySheet instances based
on a JavaBean.| Modifier and Type | Method and Description |
|---|---|
static javafx.collections.ObservableList<PropertySheet.Item> |
getProperties(java.lang.Object bean)
Given a JavaBean, this method will return a list of
PropertySheet.Item intances,
which may be directly placed inside a PropertySheet (via its
items list. |
static javafx.collections.ObservableList<PropertySheet.Item> |
getProperties(java.lang.Object bean,
java.util.function.Predicate<java.beans.PropertyDescriptor> test)
Given a JavaBean, this method will return a list of
PropertySheet.Item intances,
which may be directly placed inside a PropertySheet (via its
items list. |
public static javafx.collections.ObservableList<PropertySheet.Item> getProperties(java.lang.Object bean)
PropertySheet.Item intances,
which may be directly placed inside a PropertySheet (via its
items list.
This method will not return read-only properties.
bean - The JavaBean that should be introspected and be editable via
a PropertySheet.PropertySheet.Item instances representing the properties of the
JavaBean.public static javafx.collections.ObservableList<PropertySheet.Item> getProperties(java.lang.Object bean, java.util.function.Predicate<java.beans.PropertyDescriptor> test)
PropertySheet.Item intances,
which may be directly placed inside a PropertySheet (via its
items list.bean - The JavaBean that should be introspected and be editable via
a PropertySheet.test - Predicate to test whether the property should be included in the
list of results.PropertySheet.Item instances representing the properties of the
JavaBean.