Annotation Interface FieldBuilder.Checkbox

Enclosing class:
FieldBuilder<T>

@Retention(RUNTIME) @Target(METHOD) @Documented public static @interface FieldBuilder.Checkbox
Specifies how a Java bean property should be edited using a Checkbox.
See Also:
  • Element Details

    • implementation

      Class<? extends Checkbox> implementation
      Get the sub-type of Checkbox 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.checkbox.Checkbox.class
    • styleProperties

      String[] styleProperties
      Specify CSS properties to be set via Style.set().

      The array value consists of name, value pairs. If the array has odd length, the last element is ignored.

      Returns:
      zero or more style property name, value pairs
      See Also:
      Default:
      {}
    • ariaLabel

      String ariaLabel
      Get the value desired for the ariaLabel property.
      Returns:
      desired ariaLabel property value
      See Also:
      Default:
      ""
    • ariaLabelledBy

      String ariaLabelledBy
      Get the value desired for the ariaLabelledBy property.
      Returns:
      desired ariaLabelledBy property value
      See Also:
      Default:
      ""
    • autofocus

      boolean autofocus
      Get the value desired for the autofocus property.
      Returns:
      desired autofocus property value
      See Also:
      Default:
      false
    • addClassNames

      String[] addClassNames
      Add the specified class names.
      Returns:
      zero or more class names to add
      See Also:
      Default:
      {}
    • enabled

      boolean enabled
      Get the value desired for the enabled property.
      Returns:
      desired enabled property value
      See Also:
      Default:
      true
    • errorMessage

      String errorMessage
      Get the value desired for the errorMessage property.
      Returns:
      desired errorMessage property value
      See Also:
      Default:
      ""
    • height

      String height
      Get the value desired for the height property.
      Returns:
      desired height property value
      See Also:
      Default:
      ""
    • helperComponent

      Class<? extends Component> helperComponent
      Get the class to instantiate for the helperComponent property.
      Returns:
      desired helperComponent property value type
      See Also:
      Default:
      com.vaadin.flow.component.Component.class
    • helperText

      String helperText
      Get the value desired for the helperText property.
      Returns:
      desired helperText property value
      See Also:
      Default:
      ""
    • id

      String id
      Get the value desired for the id property.
      Returns:
      desired id property value
      See Also:
      Default:
      ""
    • indeterminate

      boolean indeterminate
      Get the value desired for the indeterminate property.
      Returns:
      desired indeterminate property value
      See Also:
      Default:
      false
    • label

      String label
      Get the value desired for the label property.
      Returns:
      desired label property value
      See Also:
      Default:
      ""
    • labelComponent

      Class<? extends Component> labelComponent
      Get the class to instantiate for the labelComponent property.
      Returns:
      desired labelComponent property value type
      See Also:
      Default:
      com.vaadin.flow.component.Component.class
    • manualValidation

      boolean manualValidation
      Get the value desired for the manualValidation property.
      Returns:
      desired manualValidation property value
      See Also:
      Default:
      false
    • maxHeight

      String maxHeight
      Get the value desired for the maxHeight property.
      Returns:
      desired maxHeight property value
      See Also:
      Default:
      ""
    • maxWidth

      String maxWidth
      Get the value desired for the maxWidth property.
      Returns:
      desired maxWidth property value
      See Also:
      Default:
      ""
    • minHeight

      String minHeight
      Get the value desired for the minHeight property.
      Returns:
      desired minHeight property value
      See Also:
      Default:
      ""
    • minWidth

      String minWidth
      Get the value desired for the minWidth property.
      Returns:
      desired minWidth property value
      See Also:
      Default:
      ""
    • readOnly

      boolean readOnly
      Get the value desired for the readOnly property.
      Returns:
      desired readOnly property value
      See Also:
      Default:
      false
    • requiredIndicatorVisible

      boolean requiredIndicatorVisible
      Get the value desired for the requiredIndicatorVisible property.
      Returns:
      desired requiredIndicatorVisible property value
      See Also:
      Default:
      false
    • tabIndex

      int tabIndex
      Get the value desired for the tabIndex property.
      Returns:
      desired tabIndex property value
      See Also:
      Default:
      0
    • tooltipText

      String tooltipText
      Get the value desired for the tooltipText property.
      Returns:
      desired tooltipText property value
      See Also:
      Default:
      ""
    • visible

      boolean visible
      Get the value desired for the visible property.
      Returns:
      desired visible property value
      See Also:
      Default:
      true
    • width

      String width
      Get the value desired for the width property.
      Returns:
      desired width property value
      See Also:
      Default:
      ""