java.lang.Object
org.controlsfx.property.editor.Editors
-
Method Summary
Modifier and TypeMethodDescriptionstatic final PropertyEditor
<?> createCheckEditor
(PropertySheet.Item property) static final <T> PropertyEditor
<?> createChoiceEditor
(PropertySheet.Item property, Collection<T> choices) static final PropertyEditor
<?> createColorEditor
(PropertySheet.Item property) static final Optional
<PropertyEditor<?>> createCustomEditor
(PropertySheet.Item property) Static method used to create an instance of the custom editor returned via a call toPropertySheet.Item.getPropertyEditorClass()
The class returned must declare a constructor that takes a single parameter of type PropertySheet.Item into which the parameter supplied to this method will be passed.static final PropertyEditor
<?> createDateEditor
(PropertySheet.Item property) static final PropertyEditor
<?> createFontEditor
(PropertySheet.Item property) static final PropertyEditor
<?> createNumericEditor
(PropertySheet.Item property) static final PropertyEditor
<?> createTextEditor
(PropertySheet.Item property)
-
Method Details
-
createTextEditor
-
createNumericEditor
-
createCheckEditor
-
createChoiceEditor
public static final <T> PropertyEditor<?> createChoiceEditor(PropertySheet.Item property, Collection<T> choices) -
createColorEditor
-
createDateEditor
-
createFontEditor
-
createCustomEditor
Static method used to create an instance of the custom editor returned via a call toPropertySheet.Item.getPropertyEditorClass()
The class returned must declare a constructor that takes a single parameter of type PropertySheet.Item into which the parameter supplied to this method will be passed.- Parameters:
property
- ThePropertySheet.Item
that this editor will be associated with.- Returns:
- The
PropertyEditor
wrapped in anOptional
-