C - Concrete configurator typepublic interface LocalTimeInputConfigurator<C extends LocalTimeInputConfigurator<C>> extends InputValueConfigurator<LocalTime,ValueHolder.ValueChangeEvent<LocalTime>,C>, HasEnabledConfigurator<C>, HasSizeConfigurator<C>, HasStyleConfigurator<C>, FocusableConfigurator<com.vaadin.flow.component.Component,C>, HasPlaceholderConfigurator<C>, HasLabelConfigurator<C>, HasTitleConfigurator<C>, DeferrableLocalizationConfigurator<C>
InputConfigurator.BaseInputConfigurator<T>ComponentConfigurator.BaseComponentConfiguratorHasEnabledConfigurator.BaseHasEnabledConfiguratorHasSizeConfigurator.BaseHasSizeConfiguratorHasStyleConfigurator.BaseHasStyleConfiguratorHasLabelConfigurator.BaseHasLabelConfiguratorFULL_SIZE| Modifier and Type | Method and Description |
|---|---|
C |
locale(Locale locale)
|
C |
step(Duration step)
Sets the step using duration.
|
withValuereadOnly, readOnly, required, required, withAdapter, withReadonlyChangeListener, withValueChangeListenercreate, elementConfiguration, hidden, id, visible, withAttachListener, withDetachListenerwithEventListener, withEventListener, withThemeNamecreate, disabled, enabledcreate, fullHeight, fullSize, fullWidth, height, height, heightUndefined, maxHeight, maxWidth, minHeight, minWidth, sizeUndefined, width, width, widthUndefinedcreate, styleName, styleNamestabIndex, withBlurListener, withFocusListener, withFocusShortcut, withFocusShortcutKeyplaceholder, placeholder, placeholdercreate, create, label, label, labeldescription, description, description, title, title, titledeferLocalization, withDeferredLocalizationisDeferredLocalizationEnabledC step(Duration step)
The set step needs to evenly divide a day or an hour and has to be larger than 0 milliseconds. By default, the
format is hh:mm (same as Duration.ofHours(1)).
If the step is less than 60 seconds, the format will be changed to hh:mm:ss and it can be in
hh:mm:ss.fff format, when the step is less than 1 second.
NOTE: If the step is less than 900 seconds, the dropdown is hidden.
step - the step to set, not null and should divide a day or an hour evenlyCopyright © 2020 The Holon Platform. All rights reserved.