Top Description Fields Constructors Methods
org.controlsfx.property.editor

public Class DefaultPropertyEditorFactory

extends Object
implements Callback<PropertySheet.Item, PropertyEditor<?>>
Class Inheritance
All Implemented Interfaces
javafx.util.Callback
Imports
java.math.BigDecimal, .BigInteger, java.time.LocalDate, java.util.Arrays, .Optional, javafx.scene.paint.Color, .Paint, javafx.scene.text.Font, javafx.util.Callback, org.controlsfx.control.PropertySheet, .PropertySheet.Item

A default implementation of the Callback type required by the PropertySheet property editor factory. By default this is the implementation used by PropertySheet, but developers may choose to provide their own, or more likely, extend this implementation and override the DefaultPropertyEditorFactory#call(org.controlsfx.control.PropertySheet.Item) method to add in support for additional editor types.
See Also
PropertySheet

Field Summary

Modifier and TypeField and Description
private static Class<?>[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PropertyEditor<?>
call(PropertySheet.Item item)

Implements javafx.util.Callback.call.

The call method is called when required, and is given a single argument of type P, with a requirement that an object of type R is returned.

private static boolean
isNumber(Class<?> type)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

numericTypesback to summary
private static Class<?>[] numericTypes

Constructor Detail

DefaultPropertyEditorFactoryback to summary
public DefaultPropertyEditorFactory()

Method Detail

callback to summary
public PropertyEditor<?> call(PropertySheet.Item item)

Implements javafx.util.Callback.call.

Doc from javafx.util.Callback.call.

The call method is called when required, and is given a single argument of type P, with a requirement that an object of type R is returned.

Annotations
@Override
isNumberback to summary
private static boolean isNumber(Class<?> type)