Top Constructors Methods
org.controlsfx.property.editor

public Class Editors

extends Object
Class Inheritance
Annotations
@SuppressWarnings:deprecation
Imports
java.lang.reflect.Constructor, .InvocationTargetException, java.math.BigDecimal, .BigInteger, java.time.LocalDate, java.util.Collection, .Optional, javafx.application.Platform, javafx.beans.property.BooleanProperty, .StringProperty, javafx.beans.value.ObservableValue, javafx.collections.FXCollections, javafx.scene.control.CheckBox, .ColorPicker, .ComboBox, .DatePicker, .TextField, .TextInputControl, javafx.scene.paint.Color, javafx.scene.text.Font, org.controlsfx.control.PropertySheet, .PropertySheet.Item, org.controlsfx.dialog.FontSelectorDialog

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static final PropertyEditor<?>
public static final <T> PropertyEditor<?>
createChoiceEditor(PropertySheet.Item property, final Collection<T> choices)

public static final PropertyEditor<?>
public static final Optional<PropertyEditor<?>>

Returns:

The PropertyEditor wrapped in an Optional
createCustomEditor
(final PropertySheet.Item
The Item that this editor will be associated with.
property
)

Static method used to create an instance of the custom editor returned via a call to 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.

public static final PropertyEditor<?>
public static final PropertyEditor<?>
public static final PropertyEditor<?>
public static final PropertyEditor<?>
private static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Editorsback to summary
private Editors()

Method Detail

createCheckEditorback to summary
public static final PropertyEditor<?> createCheckEditor(PropertySheet.Item property)
createChoiceEditorback to summary
public static final <T> PropertyEditor<?> createChoiceEditor(PropertySheet.Item property, final Collection<T> choices)
createColorEditorback to summary
public static final PropertyEditor<?> createColorEditor(PropertySheet.Item property)
createCustomEditorback to summary
public static final Optional<PropertyEditor<?>> createCustomEditor(final PropertySheet.Item property)

Static method used to create an instance of the custom editor returned via a call to 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:PropertySheet.Item

The Item that this editor will be associated with.

Returns:Optional<PropertyEditor<?>>

The PropertyEditor wrapped in an Optional

createDateEditorback to summary
public static final PropertyEditor<?> createDateEditor(PropertySheet.Item property)
createFontEditorback to summary
public static final PropertyEditor<?> createFontEditor(PropertySheet.Item property)
createNumericEditorback to summary
public static final PropertyEditor<?> createNumericEditor(PropertySheet.Item property)
Annotations
@SuppressWarnings:unchecked
createTextEditorback to summary
public static final PropertyEditor<?> createTextEditor(PropertySheet.Item property)
enableAutoSelectAllback to summary
private static void enableAutoSelectAll(final TextInputControl control)