Class VTimePicker
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- com.vaadin.flow.component.AbstractField<C,T>
-
- com.vaadin.flow.component.AbstractSinglePropertyField<R,T>
-
- com.vaadin.flow.component.timepicker.GeneratedVaadinTimePicker<com.vaadin.flow.component.timepicker.TimePicker,LocalTime>
-
- com.vaadin.flow.component.timepicker.TimePicker
-
- org.vaadin.firitin.components.timepicker.VTimePicker
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.timepicker.TimePicker>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.Focusable<com.vaadin.flow.component.timepicker.TimePicker>,com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.timepicker.TimePicker>,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasHelper,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasValidation,com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.timepicker.TimePicker,LocalTime>,LocalTime>,com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.timepicker.TimePicker,LocalTime>,LocalTime>,com.vaadin.flow.component.orderedlayout.ThemableLayout,Serializable,FluentAttachNotifier<VTimePicker>,FluentBlurNotifier<com.vaadin.flow.component.timepicker.TimePicker,VTimePicker>,FluentComponent<VTimePicker>,FluentDetachNotifier<VTimePicker>,FluentFocusable<com.vaadin.flow.component.timepicker.TimePicker,VTimePicker>,FluentFocusNotifier<com.vaadin.flow.component.timepicker.TimePicker,VTimePicker>,FluentHasEnabled<VTimePicker>,FluentHasHelper<VTimePicker>,FluentHasSize<VTimePicker>,FluentHasValidation<VTimePicker>,FluentHasValueAndElement<VTimePicker,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.timepicker.TimePicker,LocalTime>,LocalTime>,FluentThemableLayout<VDateTimePicker>,FluentHasLabel<VTimePicker>,HasPadding<VDateTimePicker>
public class VTimePicker extends com.vaadin.flow.component.timepicker.TimePicker implements FluentHasSize<VTimePicker>, FluentHasValidation<VTimePicker>, FluentHasEnabled<VTimePicker>, FluentComponent<VTimePicker>, FluentThemableLayout<VDateTimePicker>, FluentHasValueAndElement<VTimePicker,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.timepicker.TimePicker,LocalTime>,LocalTime>, FluentHasLabel<VTimePicker>, FluentFocusable<com.vaadin.flow.component.timepicker.TimePicker,VTimePicker>, FluentHasHelper<VTimePicker>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.flow.component.timepicker.GeneratedVaadinTimePicker
com.vaadin.flow.component.timepicker.GeneratedVaadinTimePicker.InvalidChangeEvent<R extends com.vaadin.flow.component.timepicker.GeneratedVaadinTimePicker<R,?>>
-
Nested classes/interfaces inherited from class com.vaadin.flow.component.AbstractField
com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,V extends Object>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier
com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier
com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValue
com.vaadin.flow.component.HasValue.ValueChangeEvent<V extends Object>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>
-
-
Constructor Summary
Constructors Constructor Description VTimePicker()VTimePicker(com.vaadin.flow.component.HasValue.ValueChangeListener<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.timepicker.TimePicker,LocalTime>> listener)VTimePicker(String label)VTimePicker(String label, LocalTime time)VTimePicker(LocalTime time)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VTimePickerwithClearButtonVisible(boolean clearButtonVisible)VTimePickerwithErrorMessage(String errorMessage)VTimePickerwithInvalid(boolean invalid)VTimePickerwithInvalidChangeListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.timepicker.GeneratedVaadinTimePicker.InvalidChangeEvent<com.vaadin.flow.component.timepicker.TimePicker>> listener)VTimePickerwithLocale(Locale locale)VTimePickerwithMax(String max)Deprecated.VTimePickerwithMaxTime(LocalTime max)VTimePickerwithMin(String min)Deprecated.VTimePickerwithMinTime(LocalTime min)VTimePickerwithPlaceholder(String placeholder)VTimePickerwithRequired(boolean required)VTimePickerwithRequiredIndicatorVisible(boolean requiredIndicatorVisible)VTimePickerwithStep(Duration step)-
Methods inherited from class com.vaadin.flow.component.timepicker.TimePicker
addInvalidChangeListener, getErrorMessage, getLabel, getLocale, getMax, getMaxTime, getMin, getMinTime, getPlaceholder, getStep, getSupportedAvailableLocales, isAutoOpen, isClearButtonVisible, isInvalid, isRequired, onAttach, setAutoOpen, setClearButtonVisible, setErrorMessage, setInvalid, setLabel, setLocale, setMax, setMaxTime, setMin, setMinTime, setPlaceholder, setRequired, setRequiredIndicatorVisible, setStep, setValue, validate
-
Methods inherited from class com.vaadin.flow.component.timepicker.GeneratedVaadinTimePicker
checkValidity, getErrorMessageString, getI18nJsonObject, getLabelString, getMaxString, getMinString, getNameString, getPatternString, getPlaceholderString, getStepDouble, isAutofocusBoolean, isClearButtonVisibleBoolean, isDisabledBoolean, isInvalidBoolean, isPreventInvalidInputBoolean, isReadonlyBoolean, isRequiredBoolean, setAutofocus, setDisabled, setI18n, setMax, setMin, setName, setPattern, setPreventInvalidInput, setReadonly, setStep
-
Methods inherited from class com.vaadin.flow.component.AbstractSinglePropertyField
getSynchronizationRegistration, hasValidValue, setPresentationValue, setSynchronizedEvent
-
Methods inherited from class com.vaadin.flow.component.AbstractField
addValueChangeListener, getEmptyValue, getValue, isEmpty, setModelValue, valueEquals
-
Methods inherited from class com.vaadin.flow.component.Component
addListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, set, setElement, setId, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentAttachNotifier
withAttachListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentBlurNotifier
withBlurListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentComponent
setId, setVisible, withId, withVisible
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentDetachNotifier
withDetachListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentFocusable
withTabIndex
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentFocusNotifier
withFocusListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasEnabled
withEnabled
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasHelper
withHelperComponent, withHelperText
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.internal.FluentHasLabel
getLabel, setLabel, withLabel
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasSize
withFullHeight, withFullWidth, withHeight, withMaxHeight, withMaxSize, withMaxWidth, withMinHeight, withMinSize, withMinWidth, withSize, withSizeFull, withSizeUndefined, withWidth
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentHasValueAndElement
withReadOnly, withValue, withValueChangeListener
-
Methods inherited from interface org.vaadin.firitin.fluency.ui.FluentThemableLayout
withBoxSizing, withMargin, withPadding, withSpacing
-
Methods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, getTabIndex, setTabIndex
-
Methods inherited from interface com.vaadin.flow.component.HasHelper
getHelperComponent, getHelperText, setHelperComponent, setHelperText
-
Methods inherited from interface org.vaadin.firitin.util.style.HasPadding
setPadding, setPadding, setPadding, withPadding, withPadding, withPadding
-
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
-
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Methods inherited from interface com.vaadin.flow.component.HasValidation
getErrorMessage, isInvalid, setErrorMessage, setInvalid
-
Methods inherited from interface com.vaadin.flow.component.HasValue
addValueChangeListener, clear, getEmptyValue, getOptionalValue, getValue, isEmpty, setValue
-
-
-
-
Constructor Detail
-
VTimePicker
public VTimePicker()
-
VTimePicker
public VTimePicker(LocalTime time)
-
VTimePicker
public VTimePicker(String label)
-
VTimePicker
public VTimePicker(com.vaadin.flow.component.HasValue.ValueChangeListener<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.timepicker.TimePicker,LocalTime>> listener)
-
-
Method Detail
-
withErrorMessage
public VTimePicker withErrorMessage(String errorMessage)
- Specified by:
withErrorMessagein interfaceFluentHasValidation<VTimePicker>
-
withInvalid
public VTimePicker withInvalid(boolean invalid)
- Specified by:
withInvalidin interfaceFluentHasValidation<VTimePicker>
-
withPlaceholder
public VTimePicker withPlaceholder(String placeholder)
-
withRequired
public VTimePicker withRequired(boolean required)
-
withStep
public VTimePicker withStep(Duration step)
-
withInvalidChangeListener
public VTimePicker withInvalidChangeListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.timepicker.GeneratedVaadinTimePicker.InvalidChangeEvent<com.vaadin.flow.component.timepicker.TimePicker>> listener)
-
withLocale
public VTimePicker withLocale(Locale locale)
-
withMin
@Deprecated public VTimePicker withMin(String min)
Deprecated.
-
withMinTime
public VTimePicker withMinTime(LocalTime min)
-
withMax
@Deprecated public VTimePicker withMax(String max)
Deprecated.
-
withMaxTime
public VTimePicker withMaxTime(LocalTime max)
-
withClearButtonVisible
public VTimePicker withClearButtonVisible(boolean clearButtonVisible)
-
withRequiredIndicatorVisible
public VTimePicker withRequiredIndicatorVisible(boolean requiredIndicatorVisible)
- Specified by:
withRequiredIndicatorVisiblein interfaceFluentHasValueAndElement<VTimePicker,com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.timepicker.TimePicker,LocalTime>,LocalTime>
-
-