java.lang.Object
qupath.fx.prefs.controlsfx.items.PropertyItem
- All Implemented Interfaces:
org.controlsfx.control.PropertySheet.Item
- Direct Known Subclasses:
ColorPropertyItem
,DefaultPropertyItem
,DirectoryPropertyItem
,FilePropertyItem
public abstract class PropertyItem
extends Object
implements org.controlsfx.control.PropertySheet.Item
Base implementation of
PropertySheet.Item
.-
Property Summary
TypePropertyDescriptionjavafx.beans.property.StringProperty
javafx.beans.property.StringProperty
javafx.beans.property.StringProperty
Optional prompt property, which can be displayed in empty text fields. -
Method Summary
Modifier and TypeMethodDescriptionSupport fluent interface to define a category.categoryKey
(String bundle, String key) description
(String description) Support fluent interface to set the description.javafx.beans.property.StringProperty
Gets the value of the property description.getName()
Gets the value of the property name.Support fluent interface to set the name.javafx.beans.property.StringProperty
javafx.beans.property.StringProperty
Optional prompt property, which can be displayed in empty text fields.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.controlsfx.control.PropertySheet.Item
getObservableValue, getPropertyEditorClass, getType, getValue, isEditable, setValue
-
Property Details
-
name
public javafx.beans.property.StringProperty nameProperty- See Also:
-
description
public javafx.beans.property.StringProperty descriptionProperty- See Also:
-
prompt
public javafx.beans.property.StringProperty promptPropertyOptional prompt property, which can be displayed in empty text fields. Obtained from the resource bundle using the keykey + ".prompt"
.
-
-
Method Details
-
category
Support fluent interface to define a category.- Parameters:
category
-- Returns:
-
description
Support fluent interface to set the description.- Parameters:
description
-- Returns:
-
name
Support fluent interface to set the name.- Parameters:
name
-- Returns:
-
nameProperty
public javafx.beans.property.StringProperty nameProperty()- See Also:
-
descriptionProperty
public javafx.beans.property.StringProperty descriptionProperty()- See Also:
-
promptProperty
public javafx.beans.property.StringProperty promptProperty()Optional prompt property, which can be displayed in empty text fields. Obtained from the resource bundle using the keykey + ".prompt"
. -
key
-
categoryKey
-
getCategory
- Specified by:
getCategory
in interfaceorg.controlsfx.control.PropertySheet.Item
-
getName
Gets the value of the property name.- Specified by:
getName
in interfaceorg.controlsfx.control.PropertySheet.Item
- Property description:
-
getDescription
Gets the value of the property description.- Specified by:
getDescription
in interfaceorg.controlsfx.control.PropertySheet.Item
- Property description:
-