com.vaadin.annotations.

Annotation Type DesignRoot

  • @Retention(RUNTIME)
    @Target(TYPE)
    public @interface DesignRoot

    Marks the component as the root of a design (html) file.

    Used together with Design.read(com.vaadin.ui.Component) to be able the load the design without further configuration. By default, the design is loaded from the same package as the annotated class and the design filename is derived from the class name. You can override the default behavior by using the value() parameter in order to load the design from a different package or with a non-default filename.

    Since:

    7.4

    Author:

    Vaadin Ltd

    • Optional Element Summary

      Optional Elements
      Modifier and Type Optional Element Description
      String value  
    • Element Detail

      • value

        String value

        Default:

        ""