Top Description Fields Constructors Methods
com.dlsc.formsfx.model.structure

public Class DateField

extends DataField<ObjectProperty<LocalDate>, LocalDate, DateField>
Class Inheritance
Imports
com.dlsc.formsfx.view.controls.SimpleDateControl, javafx.beans.property.ObjectProperty, javafx.beans.value.ChangeListener, .ObservableValue, javafx.util.converter.LocalDateStringConverter, java.time.LocalDate, java.time.chrono.Chronology, java.time.format.FormatStyle, java.util.Locale

This class provides an implementation of a Field containing a LocalDate value.
Author
Tomasz Krzemiński

Field Summary

Inherited from com.dlsc.formsfx.model.structure.DataField:
formatErrorformatErrorKeypersistentValuestringConverteruserInputvalidatorsvaluevalueTransformer

Constructor Summary

AccessConstructor and Description
public
DateField(ObjectProperty<LocalDate>
The property that is used to store the current valid value of the field.
valueProperty
,
ObjectProperty<LocalDate>
The property that is used to store the latest persisted
persistentValueProperty
)

Internal constructor for the DataField class.

Method Summary

Modifier and TypeMethod and Description
public DateField
bind(ObjectProperty<LocalDate>
The property to be bound with.
binding
)

Overrides com.dlsc.formsfx.model.structure.DataField.bind.

Binds the given property with the field.

Inherited from com.dlsc.formsfx.model.structure.DataField:
formatformatformatformatformatgetUserInputgetValuepersistresetsetBindingModetranslateunbinduserInputPropertyvalidatevalidatevalidateRequiredvalueProperty

Constructor Detail

DateFieldback to summary
public DateField(ObjectProperty<LocalDate> valueProperty, ObjectProperty<LocalDate> persistentValueProperty)

Internal constructor for the DataField class. To create new elements, see the static factory methods in Field.

Parameters
valueProperty:ObjectProperty<LocalDate>

The property that is used to store the current valid value of the field.

persistentValueProperty:ObjectProperty<LocalDate>

The property that is used to store the latest persisted

See Also
::ofStringType, ::ofIntegerType, ::ofDoubleType, ::ofBooleanType

Method Detail

bindback to summary
public DateField bind(ObjectProperty<LocalDate> binding)

Overrides com.dlsc.formsfx.model.structure.DataField.bind.

Doc from com.dlsc.formsfx.model.structure.DataField.bind.

Binds the given property with the field.

Parameters
binding:ObjectProperty<LocalDate>

The property to be bound with.

Returns:DateField

Returns the current field to allow for chaining.

Annotations
@Override