Annotation Interface FieldBuilder.DateTimePicker
- Enclosing class:
- FieldBuilder<T>
@Retention(RUNTIME)
@Target(METHOD)
@Documented
public static @interface FieldBuilder.DateTimePicker
Specifies how a Java bean property should be edited using a
DateTimePicker.- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Add the specified class names.String[]Add the specified theme names.Add the specified theme variants.Get the value desired for theariaLabelproperty.booleanGet the value desired for theautoOpenproperty.Get the value desired for thedateAriaLabelproperty.Class<? extends DatePicker.DatePickerI18n>Get the class to instantiate for thedatePickerI18nproperty.Get the value desired for thedatePlaceholderproperty.booleanGet the value desired for theenabledproperty.Get the value desired for theerrorMessageproperty.Get the value desired for theheightproperty.Get the class to instantiate for thehelperComponentproperty.Get the value desired for thehelperTextproperty.Get the value desired for theidproperty.Class<? extends DateTimePicker>Get the sub-type ofDateTimePickerthat will edit the property.Get the value desired for thelabelproperty.Get the class to instantiate for thelocaleproperty.booleanGet the value desired for themanualValidationproperty.Class<? extends LocalDateTime>Get the class to instantiate for themaxproperty.Get the value desired for themaxHeightproperty.Get the value desired for themaxWidthproperty.Class<? extends LocalDateTime>Get the class to instantiate for theminproperty.Get the value desired for theminHeightproperty.Get the value desired for theminWidthproperty.Get the value desired for theoverlayClassNameproperty.booleanGet the value desired for thereadOnlyproperty.booleanGet the value desired for therequiredIndicatorVisibleproperty.Get the class to instantiate for thestepproperty.String[]Specify CSS properties to be set viaStyle.set().intGet the value desired for thetabIndexproperty.Get the value desired for thetimeAriaLabelproperty.Get the value desired for thetimePlaceholderproperty.Get the value desired for thetooltipTextproperty.booleanGet the value desired for thevisibleproperty.booleanGet the value desired for theweekNumbersVisibleproperty.Get the value desired for thewidthproperty.
-
Element Details
-
implementation
Class<? extends DateTimePicker> implementationGet the sub-type ofDateTimePickerthat will edit the property.This property allows custom widget subclasses to be used.
The specified type must have a public constructor that takes either no arguments, or one
FieldBuilderContext.- Returns:
- field type
- Default:
- com.vaadin.flow.component.datetimepicker.DateTimePicker.class
-
styleProperties
String[] stylePropertiesSpecify CSS properties to be set viaStyle.set().The array value consists of name, value pairs. If the array has odd length, the last element is ignored.
- Default:
- {}
-
ariaLabel
String ariaLabelGet the value desired for theariaLabelproperty.- Returns:
- desired
ariaLabelproperty value - See Also:
- Default:
- ""
-
autoOpen
boolean autoOpenGet the value desired for theautoOpenproperty.- Returns:
- desired
autoOpenproperty value - See Also:
- Default:
- true
-
addClassNames
String[] addClassNamesAdd the specified class names.- Returns:
- zero or more class names to add
- See Also:
- Default:
- {}
-
dateAriaLabel
String dateAriaLabelGet the value desired for thedateAriaLabelproperty.- Returns:
- desired
dateAriaLabelproperty value - See Also:
- Default:
- ""
-
datePickerI18n
Class<? extends DatePicker.DatePickerI18n> datePickerI18nGet the class to instantiate for thedatePickerI18nproperty.- Returns:
- desired
datePickerI18nproperty value type - See Also:
- Default:
- com.vaadin.flow.component.datepicker.DatePicker.DatePickerI18n.class
-
datePlaceholder
String datePlaceholderGet the value desired for thedatePlaceholderproperty.- Returns:
- desired
datePlaceholderproperty value - See Also:
- Default:
- ""
-
enabled
boolean enabledGet the value desired for theenabledproperty.- Returns:
- desired
enabledproperty value - See Also:
- Default:
- true
-
errorMessage
String errorMessageGet the value desired for theerrorMessageproperty.- Returns:
- desired
errorMessageproperty value - See Also:
- Default:
- ""
-
height
String heightGet the value desired for theheightproperty.- Returns:
- desired
heightproperty value - See Also:
- Default:
- ""
-
helperComponent
Get the class to instantiate for thehelperComponentproperty.- Returns:
- desired
helperComponentproperty value type - See Also:
- Default:
- com.vaadin.flow.component.Component.class
-
helperText
String helperTextGet the value desired for thehelperTextproperty.- Returns:
- desired
helperTextproperty value - See Also:
- Default:
- ""
-
id
String idGet the value desired for theidproperty.- Returns:
- desired
idproperty value - See Also:
- Default:
- ""
-
label
String labelGet the value desired for thelabelproperty.- Returns:
- desired
labelproperty value - See Also:
- Default:
- ""
-
locale
Get the class to instantiate for thelocaleproperty.- Returns:
- desired
localeproperty value type - See Also:
- Default:
- java.util.Locale.class
-
manualValidation
boolean manualValidationGet the value desired for themanualValidationproperty.- Returns:
- desired
manualValidationproperty value - See Also:
- Default:
- false
-
max
Class<? extends LocalDateTime> maxGet the class to instantiate for themaxproperty.- Returns:
- desired
maxproperty value type - See Also:
- Default:
- java.time.LocalDateTime.class
-
maxHeight
String maxHeightGet the value desired for themaxHeightproperty.- Returns:
- desired
maxHeightproperty value - See Also:
- Default:
- ""
-
maxWidth
String maxWidthGet the value desired for themaxWidthproperty.- Returns:
- desired
maxWidthproperty value - See Also:
- Default:
- ""
-
min
Class<? extends LocalDateTime> minGet the class to instantiate for theminproperty.- Returns:
- desired
minproperty value type - See Also:
- Default:
- java.time.LocalDateTime.class
-
minHeight
String minHeightGet the value desired for theminHeightproperty.- Returns:
- desired
minHeightproperty value - See Also:
- Default:
- ""
-
minWidth
String minWidthGet the value desired for theminWidthproperty.- Returns:
- desired
minWidthproperty value - See Also:
- Default:
- ""
-
overlayClassName
String overlayClassNameGet the value desired for theoverlayClassNameproperty.- Returns:
- desired
overlayClassNameproperty value - See Also:
- Default:
- ""
-
readOnly
boolean readOnlyGet the value desired for thereadOnlyproperty.- Returns:
- desired
readOnlyproperty value - See Also:
- Default:
- false
-
requiredIndicatorVisible
boolean requiredIndicatorVisibleGet the value desired for therequiredIndicatorVisibleproperty.- Returns:
- desired
requiredIndicatorVisibleproperty value - See Also:
- Default:
- false
-
step
Get the class to instantiate for thestepproperty.- Returns:
- desired
stepproperty value type - See Also:
- Default:
- java.time.Duration.class
-
tabIndex
int tabIndexGet the value desired for thetabIndexproperty.- Returns:
- desired
tabIndexproperty value - See Also:
- Default:
- 0
-
addThemeNames
String[] addThemeNamesAdd the specified theme names.- Returns:
- zero or more theme names to add
- See Also:
- Default:
- {}
-
addThemeVariants
DateTimePickerVariant[] addThemeVariantsAdd the specified theme variants.- Returns:
- zero or more theme variants to add
- See Also:
- Default:
- {}
-
timeAriaLabel
String timeAriaLabelGet the value desired for thetimeAriaLabelproperty.- Returns:
- desired
timeAriaLabelproperty value - See Also:
- Default:
- ""
-
timePlaceholder
String timePlaceholderGet the value desired for thetimePlaceholderproperty.- Returns:
- desired
timePlaceholderproperty value - See Also:
- Default:
- ""
-
tooltipText
String tooltipTextGet the value desired for thetooltipTextproperty.- Returns:
- desired
tooltipTextproperty value - See Also:
- Default:
- ""
-
visible
boolean visibleGet the value desired for thevisibleproperty.- Returns:
- desired
visibleproperty value - See Also:
- Default:
- true
-
weekNumbersVisible
boolean weekNumbersVisibleGet the value desired for theweekNumbersVisibleproperty.- Returns:
- desired
weekNumbersVisibleproperty value - See Also:
- Default:
- false
-
width
String widthGet the value desired for thewidthproperty.- Returns:
- desired
widthproperty value - See Also:
- Default:
- ""
-