openpss / com.hendraanggrian.openpss.control / DateBox

DateBox

open class DateBox : _HBox

A DatePicker that always has a valid value.

DateBox width is deliberately measured to match com.hendraanggrian.scene.layout.TimeBox's width.

Constructors

<init>

DateBox(prefill: LocalDate = now())

A DatePicker that always has a valid value.

Properties

nextButton

var nextButton: Button

picker

lateinit var picker: DatePicker

previousButton

var previousButton: Button

value

val value: LocalDate?

Functions

valueProperty

fun valueProperty(): ObjectProperty<LocalDate>