Annotation Interface FieldBuilder.Input
- Enclosing class:
- FieldBuilder<T>
Specifies how a Java bean property should be edited using an
Input.- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Add the specified class names.Get the value desired for theariaLabelproperty.Get the value desired for theariaLabelledByproperty.booleanGet the value desired for theenabledproperty.Get the value desired for theheightproperty.Get the value desired for theidproperty.Get the sub-type ofInputthat will edit the property.Get the value desired for themaxHeightproperty.Get the value desired for themaxWidthproperty.Get the value desired for theminHeightproperty.Get the value desired for theminWidthproperty.Get the value desired for theplaceholderproperty.booleanGet the value desired for thereadOnlyproperty.booleanGet the value desired for therequiredIndicatorVisibleproperty.String[]Specify CSS properties to be set viaStyle.set().intGet the value desired for thetabIndexproperty.Get the value desired for thetypeproperty.Get the value desired for thevalueChangeModeproperty.intGet the value desired for thevalueChangeTimeoutproperty.booleanGet the value desired for thevisibleproperty.Get the value desired for thewidthproperty.
-
Element Details
-
implementation
Get the sub-type ofInputthat 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.html.Input.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:
- ""
-
ariaLabelledBy
String ariaLabelledByGet the value desired for theariaLabelledByproperty.- Returns:
- desired
ariaLabelledByproperty value - See Also:
- Default:
- ""
-
addClassNames
String[] addClassNamesAdd the specified class names.- Returns:
- zero or more class names to add
- See Also:
- Default:
- {}
-
enabled
boolean enabledGet the value desired for theenabledproperty.- Returns:
- desired
enabledproperty value - See Also:
- Default:
- true
-
height
String heightGet the value desired for theheightproperty.- Returns:
- desired
heightproperty value - See Also:
- Default:
- ""
-
id
String idGet the value desired for theidproperty.- Returns:
- desired
idproperty value - See Also:
- Default:
- ""
-
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:
- ""
-
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:
- ""
-
placeholder
String placeholderGet the value desired for theplaceholderproperty.- Returns:
- desired
placeholderproperty 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
-
tabIndex
int tabIndexGet the value desired for thetabIndexproperty.- Returns:
- desired
tabIndexproperty value - See Also:
- Default:
- 0
-
type
String typeGet the value desired for thetypeproperty.- Returns:
- desired
typeproperty value - See Also:
- Default:
- "text"
-
valueChangeMode
ValueChangeMode valueChangeModeGet the value desired for thevalueChangeModeproperty.- Returns:
- desired
valueChangeModeproperty value - See Also:
- Default:
- ON_CHANGE
-
valueChangeTimeout
int valueChangeTimeoutGet the value desired for thevalueChangeTimeoutproperty.- Returns:
- desired
valueChangeTimeoutproperty value - See Also:
- Default:
- 400
-
visible
boolean visibleGet the value desired for thevisibleproperty.- Returns:
- desired
visibleproperty value - See Also:
- Default:
- true
-
width
String widthGet the value desired for thewidthproperty.- Returns:
- desired
widthproperty value - See Also:
- Default:
- ""
-