Annotation Interface RowStyles


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface RowStyles
A group of @RowStyle associated to the same collection.

It allows to define a value different for @RowStyle in each view.
Example:

  @RowStyles({
    @RowStyle(forViews="Specials", style="highlight", property="type", value="special"),
    @RowStyle(forViews="Complete", style="highlight", property="type", value="steady")      
  })
 
It does not work for @ElementCollection.

Since 6.1 @RowStyle is repeatable, so you don't need to use @RowStyles any more.
Author:
Javier Paniza
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details