openpss / com.hendraanggrian.openpss.control / TimeBox

TimeBox

open class TimeBox : _HBox

Two fields (hour and minute) that represents LocalTime.

TimeBox width is deliberately measured to match com.hendraanggrian.ui.scene.control.ForcedDatePicker's width.

Constructors

<init>

TimeBox(prefill: LocalTime = MIDNIGHT)

Two fields (hour and minute) that represents LocalTime.

Properties

nextButton

var nextButton: Button

onOverlap

var onOverlap: (Boolean) -> Unit

picker

lateinit var picker: JFXTimePicker

previousButton

var previousButton: Button

value

val value: LocalTime?

Functions

valueProperty

fun valueProperty(): ObjectProperty<LocalTime>