Package com.storedobject.ui
Class MinutesField
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.AbstractField<com.vaadin.flow.component.customfield.CustomField<Integer>,Integer>
 
com.vaadin.flow.component.customfield.CustomField<Integer>
- All Implemented Interfaces:
- DisablePaste,- HasStyle,- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.BlurNotifier<com.vaadin.flow.component.customfield.CustomField<Integer>>,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.Focusable<com.vaadin.flow.component.customfield.CustomField<Integer>>,- com.vaadin.flow.component.FocusNotifier<com.vaadin.flow.component.customfield.CustomField<Integer>>,- com.vaadin.flow.component.HasElement,- com.vaadin.flow.component.HasEnabled,- com.vaadin.flow.component.HasHelper,- com.vaadin.flow.component.HasLabel,- com.vaadin.flow.component.HasSize,- com.vaadin.flow.component.HasStyle,- com.vaadin.flow.component.HasTheme,- com.vaadin.flow.component.HasValidation,- com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Integer>,,- Integer>, - Integer> - com.vaadin.flow.component.HasValueAndElement<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Integer>,,- Integer>, - Integer> - com.vaadin.flow.component.shared.HasPrefix,- com.vaadin.flow.component.shared.HasSuffix,- com.vaadin.flow.component.shared.HasTooltip,- com.vaadin.flow.component.shared.HasValidationProperties,- com.vaadin.flow.component.shared.InputField<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Integer>,,- Integer>, - Integer> - com.vaadin.flow.component.textfield.HasAutocomplete,- Serializable
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.vaadin.flow.component.AbstractFieldcom.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<C extends com.vaadin.flow.component.Component,V> Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifiercom.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifiercom.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasValuecom.vaadin.flow.component.HasValue.ValueChangeEvent<V>, com.vaadin.flow.component.HasValue.ValueChangeListener<E extends com.vaadin.flow.component.HasValue.ValueChangeEvent<?>>
- 
Field SummaryFields inherited from interface com.vaadin.flow.component.textfield.HasAutocompleteAUTOCOMPLETE_ATTRIBUTE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected StringFormat the value to display it as a string.booleanfinal intprotected IntegergetModelValue(String string) Create the model value from the string value passed.booleanprotected voidonAttach(com.vaadin.flow.component.AttachEvent attachEvent) voidsetAllowDays(boolean allowDays) voidsetLength(int width) voidsetTrimToDay(boolean trimToDay) voidMethods inherited from class com.storedobject.vaadin.CustomTextFieldalignRight, createField, customizeTextField, disablePaste, generateModelValue, getAutocomplete, getField, getInternalElement, getPrefixComponent, getSuffixComponent, isAutoselect, setAutocomplete, setAutoselect, setEmptyDisplay, setEnabled, setHeight, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setPlaceholder, setPrefixComponent, setPresentationValue, setReadOnly, setSuffixComponent, setWidthMethods inherited from class com.storedobject.vaadin.CustomFieldaddField, addField, focusMethods inherited from class com.vaadin.flow.component.customfield.CustomFieldadd, addThemeVariants, getLabel, remove, removeThemeVariants, setLabel, updateValueMethods inherited from class com.vaadin.flow.component.AbstractFieldaddValueChangeListener, getEmptyValue, getValue, isEmpty, setModelValue, valueEqualsMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.BlurNotifieraddBlurListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListenerMethods inherited from interface com.vaadin.flow.component.FocusableaddFocusShortcut, blur, getTabIndex, setTabIndexMethods inherited from interface com.vaadin.flow.component.FocusNotifieraddFocusListenerMethods inherited from interface com.vaadin.flow.component.HasElementgetElementMethods inherited from interface com.vaadin.flow.component.HasEnabledisEnabledMethods inherited from interface com.vaadin.flow.component.HasHelpergetHelperComponent, getHelperText, setHelperComponent, setHelperTextMethods inherited from interface com.vaadin.flow.component.HasSizegetHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFullMethods inherited from interface com.storedobject.vaadin.HasStylegetClassName, getClassNames, getStyle, setClassNameMethods inherited from interface com.vaadin.flow.component.HasStyleaddClassName, addClassNames, hasClassName, removeClassName, removeClassNames, setClassNameMethods inherited from interface com.vaadin.flow.component.HasThemeaddThemeName, addThemeNames, getThemeName, getThemeNames, hasThemeName, removeThemeName, removeThemeNames, setThemeName, setThemeNameMethods inherited from interface com.vaadin.flow.component.shared.HasTooltipgetTooltip, setTooltipTextMethods inherited from interface com.vaadin.flow.component.HasValidationsetManualValidationMethods inherited from interface com.vaadin.flow.component.shared.HasValidationPropertiesgetErrorMessage, isInvalid, setErrorMessage, setInvalidMethods inherited from interface com.vaadin.flow.component.HasValueaddValueChangeListener, clear, getEmptyValue, getOptionalValue, getValue, isEmptyMethods inherited from interface com.vaadin.flow.component.HasValueAndElementisReadOnly, isRequiredIndicatorVisible, setRequiredIndicatorVisible
- 
Constructor Details- 
MinutesFieldpublic MinutesField()
- 
MinutesField
- 
MinutesField
 
- 
- 
Method Details- 
onAttachprotected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent) - Overrides:
- onAttachin class- CustomTextField<Integer>
 
- 
setTrimToDaypublic void setTrimToDay(boolean trimToDay) 
- 
isTrimToDaypublic boolean isTrimToDay()
- 
setValue- Specified by:
- setValuein interface- com.vaadin.flow.component.HasValue<com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.customfield.CustomField<Integer>,- Integer>, - Integer> 
- Overrides:
- setValuein class- com.vaadin.flow.component.AbstractField<com.vaadin.flow.component.customfield.CustomField<Integer>,- Integer> 
 
- 
getModelValueDescription copied from class:CustomTextFieldCreate the model value from the string value passed.- Specified by:
- getModelValuein class- CustomTextField<Integer>
- Parameters:
- string- String value to convert.
- Returns:
- Model value created from the string value.
 
- 
formatDescription copied from class:CustomTextFieldFormat the value to display it as a string.- Overrides:
- formatin class- CustomTextField<Integer>
- Parameters:
- value- Value to format.
- Returns:
- Displayable string.
 
- 
getLengthpublic final int getLength()
- 
setLengthpublic void setLength(int width) 
- 
setAllowDayspublic void setAllowDays(boolean allowDays) 
- 
getAllowDayspublic boolean getAllowDays()
 
-