Annotation Interface LabelFormats


@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface LabelFormats
A group of @LabelFormat associated to the same member.

Applies to properties and references with descriptions list.

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

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

    Required Elements
    Modifier and Type
    Required Element
    Description