- java.lang.Object
-
- org.controlsfx.property.editor.Editors
-
public class Editors extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropertyEditor<?>createCheckEditor(PropertySheet.Item property)static <T> PropertyEditor<?>createChoiceEditor(PropertySheet.Item property, Collection<T> choices)static PropertyEditor<?>createColorEditor(PropertySheet.Item property)static 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 PropertyEditor<?>createDateEditor(PropertySheet.Item property)static PropertyEditor<?>createFontEditor(PropertySheet.Item property)static PropertyEditor<?>createNumericEditor(PropertySheet.Item property)static PropertyEditor<?>createTextEditor(PropertySheet.Item property)
-
-
-
Method Detail
-
createTextEditor
public static final PropertyEditor<?> createTextEditor(PropertySheet.Item property)
-
createNumericEditor
public static final PropertyEditor<?> createNumericEditor(PropertySheet.Item property)
-
createCheckEditor
public static final PropertyEditor<?> createCheckEditor(PropertySheet.Item property)
-
createChoiceEditor
public static final <T> PropertyEditor<?> createChoiceEditor(PropertySheet.Item property, Collection<T> choices)
-
createColorEditor
public static final PropertyEditor<?> createColorEditor(PropertySheet.Item property)
-
createDateEditor
public static final PropertyEditor<?> createDateEditor(PropertySheet.Item property)
-
createFontEditor
public static final PropertyEditor<?> createFontEditor(PropertySheet.Item property)
-
createCustomEditor
public 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.- Parameters:
property- ThePropertySheet.Itemthat this editor will be associated with.- Returns:
- The
PropertyEditorwrapped in anOptional
-
-