Annotation Interface ShowFieldAs


@Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface ShowFieldAs
Indicates the field should be shown using the provided component. Note: the component must have a public, no-args constructor.
Since:
2022-09-08
Author:
miki
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends com.vaadin.flow.component.HasValue>
    The component class to use.
  • Element Details

    • value

      Class<? extends com.vaadin.flow.component.HasValue> value
      The component class to use. It must have a public, no argument constructor.