Annotation Interface ViewComponent


@Retention(RUNTIME) @Target({FIELD,METHOD}) @Documented public @interface ViewComponent
Annotation to map a field in a View to a specific view element, e.g. UI components, beans.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The id of the element to map to.
  • Element Details

    • value

      String value
      The id of the element to map to. When empty, the name of the field is used instead.
      Returns:
      the id of the element to map to
      Default:
      ""