public class DateTimeChangeEvent extends Object
Constructor and Description |
---|
DateTimeChangeEvent(DateTimePicker source,
DatePicker datePicker,
TimePicker timePicker,
DateChangeEvent dateChangeEvent,
TimeChangeEvent timeChangeEvent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DateChangeEvent |
getDateChangeEvent()
getDateChangeEvent, If the date changed, then this returns the date change event.
|
DatePicker |
getDatePicker()
getDatePicker, Returns a reference to the date picker component of the DateTimePicker.
|
LocalDateTime |
getNewDateTimePermissive()
getNewDateTimePermissive, This returns the new LocalDateTime value from the DateTimePicker,
as it would be reported by getSource().getDateTimePermissive().
|
LocalDateTime |
getNewDateTimeStrict()
getNewDateTimeStrict, This returns the new LocalDateTime value from the DateTimePicker, as it
would be reported by getSource().getDateTimeStrict().
|
LocalDateTime |
getOldDateTimePermissive()
getOldDateTimePermissive, This returns the old LocalDateTime value from the DateTimePicker,
as it would have been reported by getSource().getDateTimePermissive(), before this change
event occurred.
|
LocalDateTime |
getOldDateTimeStrict()
getOldDateTimeStrict, This returns the old LocalDateTime value from the DateTimePicker, as it
would have been reported by getSource().getDateTimeStrict(), before this change event
occurred.
|
DateTimePicker |
getSource()
getSource, Returns the DateTimePicker that generated the event.
|
TimeChangeEvent |
getTimeChangeEvent()
getTimeChangeEvent, If the time changed, then this returns the time change event.
|
TimePicker |
getTimePicker()
getTimePicker, Returns a reference to the time picker component of the DateTimePicker.
|
public DateTimeChangeEvent(DateTimePicker source, DatePicker datePicker, TimePicker timePicker, DateChangeEvent dateChangeEvent, TimeChangeEvent timeChangeEvent)
public DateTimePicker getSource()
public DatePicker getDatePicker()
public TimePicker getTimePicker()
public DateChangeEvent getDateChangeEvent()
public TimeChangeEvent getTimeChangeEvent()
public LocalDateTime getNewDateTimeStrict()
public LocalDateTime getNewDateTimePermissive()
public LocalDateTime getOldDateTimeStrict()
public LocalDateTime getOldDateTimePermissive()
Copyright © 2018. All rights reserved.