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. The design is loaded from the same package as the annotated class and by default the design filename is derived from the class name. Using the value() parameter you can specify another design file name.

    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:
        ""