Annotation Type DisplaySizes

  • @Retention(RUNTIME)
    public @interface DisplaySizes
    A group of @DisplaySize associated to the same property.

    Applies to properties.

    It allows to define a value different for @DisplaySize in each view.

        @DisplaySize(forViews="DEFAULT", value= ... ),
        @DisplaySize(forViews="Simple, VerySimple", value= ... ),
        @DisplaySize(forViews="Complete", value= ... )
    Since 6.1 @DisplaySize is repeatable, so you don't need to use @DisplaySizes any more.
    Javier Paniza
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      DisplaySize[] value