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
Modifier and TypeOptional ElementDescriptionString[]
Add the specified class names.String[]
Add the specified theme names.Add the specified theme variants.Get the value desired for theariaLabel
property.boolean
Get the value desired for theautoOpen
property.Get the value desired for thedateAriaLabel
property.Class<? extends DatePicker.DatePickerI18n>
Get the class to instantiate for thedatePickerI18n
property.Get the value desired for thedatePlaceholder
property.boolean
Get the value desired for theenabled
property.Get the value desired for theerrorMessage
property.Get the value desired for theheight
property.Get the class to instantiate for thehelperComponent
property.Get the value desired for thehelperText
property.Get the value desired for theid
property.Class<? extends DateTimePicker>
Get the sub-type ofDateTimePicker
that will edit the property.Get the value desired for thelabel
property.Get the class to instantiate for thelocale
property.boolean
Get the value desired for themanualValidation
property.Class<? extends LocalDateTime>
Get the class to instantiate for themax
property.Get the value desired for themaxHeight
property.Get the value desired for themaxWidth
property.Class<? extends LocalDateTime>
Get the class to instantiate for themin
property.Get the value desired for theminHeight
property.Get the value desired for theminWidth
property.Get the value desired for theoverlayClassName
property.boolean
Get the value desired for thereadOnly
property.boolean
Get the value desired for therequiredIndicatorVisible
property.Get the class to instantiate for thestep
property.String[]
Specify CSS properties to be set viaStyle.set()
.int
Get the value desired for thetabIndex
property.Get the value desired for thetimeAriaLabel
property.Get the value desired for thetimePlaceholder
property.Get the value desired for thetooltipText
property.boolean
Get the value desired for thevisible
property.boolean
Get the value desired for theweekNumbersVisible
property.Get the value desired for thewidth
property.
-
Element Details
-
implementation
Class<? extends DateTimePicker> implementationGet the sub-type ofDateTimePicker
that 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 theariaLabel
property.- Returns:
- desired
ariaLabel
property value - See Also:
- Default:
- ""
-
autoOpen
boolean autoOpenGet the value desired for theautoOpen
property.- Returns:
- desired
autoOpen
property 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 thedateAriaLabel
property.- Returns:
- desired
dateAriaLabel
property value - See Also:
- Default:
- ""
-
datePickerI18n
Class<? extends DatePicker.DatePickerI18n> datePickerI18nGet the class to instantiate for thedatePickerI18n
property.- Returns:
- desired
datePickerI18n
property value type - See Also:
- Default:
- com.vaadin.flow.component.datepicker.DatePicker.DatePickerI18n.class
-
datePlaceholder
String datePlaceholderGet the value desired for thedatePlaceholder
property.- Returns:
- desired
datePlaceholder
property value - See Also:
- Default:
- ""
-
enabled
boolean enabledGet the value desired for theenabled
property.- Returns:
- desired
enabled
property value - See Also:
- Default:
- true
-
errorMessage
String errorMessageGet the value desired for theerrorMessage
property.- Returns:
- desired
errorMessage
property value - See Also:
- Default:
- ""
-
height
String heightGet the value desired for theheight
property.- Returns:
- desired
height
property value - See Also:
- Default:
- ""
-
helperComponent
Get the class to instantiate for thehelperComponent
property.- Returns:
- desired
helperComponent
property value type - See Also:
- Default:
- com.vaadin.flow.component.Component.class
-
helperText
String helperTextGet the value desired for thehelperText
property.- Returns:
- desired
helperText
property value - See Also:
- Default:
- ""
-
id
String idGet the value desired for theid
property.- Returns:
- desired
id
property value - See Also:
- Default:
- ""
-
label
String labelGet the value desired for thelabel
property.- Returns:
- desired
label
property value - See Also:
- Default:
- ""
-
locale
Get the class to instantiate for thelocale
property.- Returns:
- desired
locale
property value type - See Also:
- Default:
- java.util.Locale.class
-
manualValidation
boolean manualValidationGet the value desired for themanualValidation
property.- Returns:
- desired
manualValidation
property value - See Also:
- Default:
- false
-
max
Class<? extends LocalDateTime> maxGet the class to instantiate for themax
property.- Returns:
- desired
max
property value type - See Also:
- Default:
- java.time.LocalDateTime.class
-
maxHeight
String maxHeightGet the value desired for themaxHeight
property.- Returns:
- desired
maxHeight
property value - See Also:
- Default:
- ""
-
maxWidth
String maxWidthGet the value desired for themaxWidth
property.- Returns:
- desired
maxWidth
property value - See Also:
- Default:
- ""
-
min
Class<? extends LocalDateTime> minGet the class to instantiate for themin
property.- Returns:
- desired
min
property value type - See Also:
- Default:
- java.time.LocalDateTime.class
-
minHeight
String minHeightGet the value desired for theminHeight
property.- Returns:
- desired
minHeight
property value - See Also:
- Default:
- ""
-
minWidth
String minWidthGet the value desired for theminWidth
property.- Returns:
- desired
minWidth
property value - See Also:
- Default:
- ""
-
overlayClassName
String overlayClassNameGet the value desired for theoverlayClassName
property.- Returns:
- desired
overlayClassName
property value - See Also:
- Default:
- ""
-
readOnly
boolean readOnlyGet the value desired for thereadOnly
property.- Returns:
- desired
readOnly
property value - See Also:
- Default:
- false
-
requiredIndicatorVisible
boolean requiredIndicatorVisibleGet the value desired for therequiredIndicatorVisible
property.- Returns:
- desired
requiredIndicatorVisible
property value - See Also:
- Default:
- false
-
step
Get the class to instantiate for thestep
property.- Returns:
- desired
step
property value type - See Also:
- Default:
- java.time.Duration.class
-
tabIndex
int tabIndexGet the value desired for thetabIndex
property.- Returns:
- desired
tabIndex
property 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 thetimeAriaLabel
property.- Returns:
- desired
timeAriaLabel
property value - See Also:
- Default:
- ""
-
timePlaceholder
String timePlaceholderGet the value desired for thetimePlaceholder
property.- Returns:
- desired
timePlaceholder
property value - See Also:
- Default:
- ""
-
tooltipText
String tooltipTextGet the value desired for thetooltipText
property.- Returns:
- desired
tooltipText
property value - See Also:
- Default:
- ""
-
visible
boolean visibleGet the value desired for thevisible
property.- Returns:
- desired
visible
property value - See Also:
- Default:
- true
-
weekNumbersVisible
boolean weekNumbersVisibleGet the value desired for theweekNumbersVisible
property.- Returns:
- desired
weekNumbersVisible
property value - See Also:
- Default:
- false
-
width
String widthGet the value desired for thewidth
property.- Returns:
- desired
width
property value - See Also:
- Default:
- ""
-