Module is.codion.swing.common.ui
Package is.codion.swing.common.ui.dialog
Interface CalendarDialogBuilder
- All Superinterfaces:
DialogBuilder<CalendarDialogBuilder>
Builds a dialog for displaying a calendar for date/time input.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a LocalDate from the user.Retrieves a LocalTimeDate from the user.value
(LocalDateTime value) Methods inherited from interface is.codion.swing.common.ui.dialog.DialogBuilder
icon, keyEvent, location, locationRelativeTo, owner, owner, title, title
-
Method Details
-
value
- Parameters:
value
- the initial value- Returns:
- this builder instance
-
value
- Parameters:
value
- the initial value- Returns:
- this builder instance
-
selectLocalDate
Retrieves a LocalDate from the user.- Returns:
- a LocalDate from the user,
Optional.empty()
in case the user cancels
-
selectLocalDateTime
Optional<LocalDateTime> selectLocalDateTime()Retrieves a LocalTimeDate from the user.- Returns:
- a LocalTimeDate from the user,
Optional.empty()
in case the user cancels
-