com.vaadin.annotations.

Annotation Type DesignRoot


  • @Retention(value=RUNTIME)
     @Target(value=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 and Description
      String value 
    • Element Detail

      • value

        public abstract String value

        Default:

        ""