D - Actual date value typeB - Concrete builder typepublic interface BaseDateInputBuilder<D,B extends BaseDateInputBuilder<D,B>> extends InputBuilder<D,ValueHolder.ValueChangeEvent<D>,Input<D>,B>, InputValueConfigurator<D,ValueHolder.ValueChangeEvent<D>,B>, HasSizeConfigurator<B>, HasStyleConfigurator<B>, HasEnabledConfigurator<B>, FocusableConfigurator<com.vaadin.flow.component.Component,B>, HasPlaceholderConfigurator<B>, HasLabelConfigurator<B>, DeferrableLocalizationConfigurator<B>
Input components.| Modifier and Type | Interface and Description |
|---|---|
static interface |
BaseDateInputBuilder.CalendarLocalization
Date input calendar popup localization settings.
|
static interface |
BaseDateInputBuilder.CalendarLocalizationBuilder<D,B extends BaseDateInputBuilder<D,B>> |
InputConfigurator.BaseInputConfigurator<T>ComponentConfigurator.BaseComponentConfiguratorFULL_SIZE| Modifier and Type | Method and Description |
|---|---|
B |
initialPosition(D initialPosition)
Set the date which should be visible when there is no value selected.
|
B |
locale(Locale locale)
Set the
Locale to use. |
BaseDateInputBuilder.CalendarLocalizationBuilder<D,B> |
localization()
Get a builder to setup the Date Input calendar localization messages.
|
B |
localization(BaseDateInputBuilder.CalendarLocalization localization)
Set the Date Input calendar localization messages.
|
B |
max(D max)
Sets the maximum date that is allowed to be selected.
|
B |
min(D min)
Sets the minimum date that is allowed to be selected.
|
B |
updateLocaleOnAttach(boolean updateLocaleOnAttach)
|
B |
weekNumbersVisible(boolean weekNumbersVisible)
Set the visible week numbers.
|
build, validatablewithValuereadOnly, readOnly, required, required, withValueChangeListenerhidden, id, visible, withAttachListener, withDetachListenerwithEventListener, withEventListener, withThemeNamefullHeight, fullSize, fullWidth, height, height, heightUndefined, sizeUndefined, width, width, widthUndefinedstyleName, styleNamesdisabled, enabledtabIndex, withBlurListener, withFocusListenerplaceholder, placeholder, placeholderlabel, label, labeldeferLocalization, withDeferredLocalizationisDeferredLocalizationEnabledB locale(Locale locale)
Locale to use. The displayed date will be matched to the format used in that locale.locale - The locale to set (not null)B updateLocaleOnAttach(boolean updateLocaleOnAttach)
Locale when the component is attached to a parent layout, using the current
application Locale, if available.updateLocaleOnAttach - Whether to update the component Locale on attachLocalizationProviderB min(D min)
min - the minimum date that is allowed to be selected, or null to remove any minimum
constraintsB max(D max)
max - the maximum date that is allowed to be selected, or null to remove any maximum
constraintsB initialPosition(D initialPosition)
initialPosition - the initial position to setB weekNumbersVisible(boolean weekNumbersVisible)
Set true to display ISO-8601 week numbers in the calendar.
weekNumbersVisible - Whether the week numbers are visibleB localization(BaseDateInputBuilder.CalendarLocalization localization)
Use localization() to obtain a suitable builder to configure the calendar localization messages.
localization - Calendar localization messagesBaseDateInputBuilder.CalendarLocalizationBuilder<D,B> localization()
The BaseDateInputBuilder.CalendarLocalizationBuilder.set() method can be used to configure the localization and go back to the
parent Date Input builder.
BaseDateInputBuilder.CalendarLocalizationBuilder to setup the Date Input calendar localization messagesCopyright © 2019 The Holon Platform. All rights reserved.