Annotation Interface DisplaySizes


@Retention(RUNTIME) @Target({FIELD,METHOD}) 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.
Example:

  @DisplaySizes({
    @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.
Author:
Javier Paniza
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description