public static interface PropertySheet.Item
PropertySheet control.PropertySheet| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCategory()
Returns a String representation of the category of the property.
|
java.lang.String |
getDescription()
A String that will be shown to the user as a tooltip.
|
java.lang.String |
getName()
Returns the display name of the property, which should be short (i.e.
|
java.util.Optional<javafx.beans.value.ObservableValue<? extends java.lang.Object>> |
getObservableValue()
Returns the underlying ObservableValue, where one exists, that the editor
can monitor for changes.
|
default java.util.Optional<java.lang.Class<? extends PropertyEditor<?>>> |
getPropertyEditorClass()
Returns an Optional wrapping the class of the PropertyEditor that
should be used for editing this item.
|
java.lang.Class<?> |
getType()
Returns the class type of the property.
|
java.lang.Object |
getValue()
Returns the current value of the property.
|
default boolean |
isEditable()
Indicates whether the PropertySheet should allow editing of this
property, or whether it is read-only.
|
void |
setValue(java.lang.Object value)
Sets the current value of the property.
|
java.lang.Class<?> getType()
java.lang.String getCategory()
PropertySheet
mode property is set to
PropertySheet.Mode.CATEGORY - as then all properties with the same category
will be grouped together visually.java.lang.String getName()
PropertyEditor.
If you need to explain more detail to the user, consider placing it
in the getDescription().java.lang.String getDescription()
getName()
method.java.lang.Object getValue()
void setValue(java.lang.Object value)
java.util.Optional<javafx.beans.value.ObservableValue<? extends java.lang.Object>> getObservableValue()
default java.util.Optional<java.lang.Class<? extends PropertyEditor<?>>> getPropertyEditorClass()
default boolean isEditable()