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
PropertiesTypePropertyDescriptionjavafx.beans.property.StringPropertyjavafx.beans.property.StringPropertyjavafx.beans.property.StringPropertyOptional 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.StringPropertyGets the value of thedescriptionproperty.getName()Gets the value of thenameproperty.Support fluent interface to set the name.javafx.beans.property.StringPropertyjavafx.beans.property.StringPropertyOptional 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, waitMethods 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".- See Also:
-
-
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()- Returns:
- the
nameproperty - See Also:
-
descriptionProperty
public javafx.beans.property.StringProperty descriptionProperty()- Returns:
- the
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".- Returns:
-
key
-
categoryKey
-
getCategory
- Specified by:
getCategoryin interfaceorg.controlsfx.control.PropertySheet.Item
-
getName
Gets the value of thenameproperty.- Specified by:
getNamein interfaceorg.controlsfx.control.PropertySheet.Item- Property description:
- Returns:
- the value of the
nameproperty - See Also:
-
getDescription
Gets the value of thedescriptionproperty.- Specified by:
getDescriptionin interfaceorg.controlsfx.control.PropertySheet.Item- Property description:
- Returns:
- the value of the
descriptionproperty - See Also:
-