D - Actual date value typeC - Concrete configurator typepublic interface BaseTemporalInputConfigurator<D,C extends BaseTemporalInputConfigurator<D,C>> extends InputValueConfigurator<D,ValueHolder.ValueChangeEvent<D>,C>, HasSizeConfigurator<C>, HasStyleConfigurator<C>, HasEnabledConfigurator<C>, FocusableConfigurator<com.vaadin.flow.component.Component,C>, HasPlaceholderConfigurator<C>, HasLabelConfigurator<C>, DeferrableLocalizationConfigurator<C>
Input components configurator.| Modifier and Type | Interface and Description |
|---|---|
static interface |
BaseTemporalInputConfigurator.CalendarLocalization
Date input calendar popup localization settings.
|
static interface |
BaseTemporalInputConfigurator.CalendarLocalizationBuilder<D,C extends BaseTemporalInputConfigurator<D,C>>
Calendar popup configuration builder.
|
InputConfigurator.BaseInputConfigurator<T>ComponentConfigurator.BaseComponentConfiguratorHasSizeConfigurator.BaseHasSizeConfiguratorHasStyleConfigurator.BaseHasStyleConfiguratorHasEnabledConfigurator.BaseHasEnabledConfiguratorHasLabelConfigurator.BaseHasLabelConfiguratorFULL_SIZE| Modifier and Type | Method and Description |
|---|---|
C |
clearButtonVisible(boolean clearButtonVisible)
Set whether to show a clear button which can be used to clear the input value.
|
C |
initialPosition(D initialPosition)
Set the date which should be visible when there is no value selected.
|
C |
locale(Locale locale)
Set the
Locale to use. |
BaseTemporalInputConfigurator.CalendarLocalizationBuilder<D,C> |
localization()
Get a builder to setup the Date Input calendar localization messages.
|
C |
localization(BaseTemporalInputConfigurator.CalendarLocalization localization)
Set the Date Input calendar localization messages.
|
C |
max(D max)
Sets the maximum date that is allowed to be selected.
|
C |
min(D min)
Sets the minimum date that is allowed to be selected.
|
C |
updateLocaleOnAttach(boolean updateLocaleOnAttach)
|
C |
weekNumbersVisible(boolean weekNumbersVisible)
Set the visible week numbers.
|
withValuereadOnly, readOnly, required, required, withAdapter, withReadonlyChangeListener, withValueChangeListenercreate, elementConfiguration, hidden, id, visible, withAttachListener, withDetachListenerwithEventListener, withEventListener, withThemeNamecreate, fullHeight, fullSize, fullWidth, height, height, heightUndefined, maxHeight, maxWidth, minHeight, minWidth, sizeUndefined, width, width, widthUndefinedcreate, styleName, styleNamescreate, disabled, enabledtabIndex, withBlurListener, withFocusListener, withFocusShortcut, withFocusShortcutKeyplaceholder, placeholder, placeholdercreate, create, label, label, labeldeferLocalization, withDeferredLocalizationisDeferredLocalizationEnabledC 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)C 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 attachLocalizationProviderC min(D min)
min - the minimum date that is allowed to be selected, or null to remove any minimum
constraintsC max(D max)
max - the maximum date that is allowed to be selected, or null to remove any maximum
constraintsC initialPosition(D initialPosition)
initialPosition - the initial position to setC clearButtonVisible(boolean clearButtonVisible)
clearButtonVisible - true to show the clear button, false to hide itC weekNumbersVisible(boolean weekNumbersVisible)
Set true to display ISO-8601 week numbers in the calendar.
weekNumbersVisible - Whether the week numbers are visibleC localization(BaseTemporalInputConfigurator.CalendarLocalization localization)
Use localization() to obtain a suitable builder to configure the calendar localization messages.
localization - Calendar localization messagesBaseTemporalInputConfigurator.CalendarLocalizationBuilder<D,C> localization()
The BaseTemporalInputConfigurator.CalendarLocalizationBuilder.set() method can be used to configure the localization and go back to the
parent Date Input builder.
BaseTemporalInputConfigurator.CalendarLocalizationBuilder to setup the Date Input calendar localization messagesCopyright © 2020 The Holon Platform. All rights reserved.