public static class ExtendedPropertySheet.PropertyItem<T>
extends java.lang.Object
implements org.controlsfx.control.PropertySheet.Item
Constructor and Description |
---|
PropertyItem(javafx.beans.property.Property<T> property)
Creates a new PropertyItem from the given property.
|
PropertyItem(javafx.beans.property.Property<T> property,
java.lang.String name)
Creates a new PropertyItem from the given property and with the given name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategory() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.util.Optional<javafx.beans.value.ObservableValue<?>> |
getObservableValue() |
java.lang.Class<?> |
getType() |
java.lang.Object |
getValue() |
void |
setValue(java.lang.Object value) |
public PropertyItem(javafx.beans.property.Property<T> property)
#PropertyItem(Property, String)
that lets the name be directly specified.property
- the property the item representspublic PropertyItem(javafx.beans.property.Property<T> property, java.lang.String name)
property
- the property the item representsname
- the name of the item to display in the property sheetpublic java.lang.Class<?> getType()
getType
in interface org.controlsfx.control.PropertySheet.Item
public java.lang.String getCategory()
getCategory
in interface org.controlsfx.control.PropertySheet.Item
public java.lang.String getName()
getName
in interface org.controlsfx.control.PropertySheet.Item
public java.lang.String getDescription()
getDescription
in interface org.controlsfx.control.PropertySheet.Item
public java.lang.Object getValue()
getValue
in interface org.controlsfx.control.PropertySheet.Item
public void setValue(java.lang.Object value)
setValue
in interface org.controlsfx.control.PropertySheet.Item
public java.util.Optional<javafx.beans.value.ObservableValue<?>> getObservableValue()
getObservableValue
in interface org.controlsfx.control.PropertySheet.Item