Annotation Type LabelStyles


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

    Applies to properties and references with descriptions list.

    It allows assigning several styles or to define a value different for @LabelStyle in each view.
    Example:

      @LabelStyle({
        @LabelStyle(value="bold-label" ),
        @LabelStyle(forViews="Complete", value="italic-label")
      })
     
    You can apply each style in a different view (if you put forViews) or you can apply several styles in the same property (if you don't put forViews).
    Since 6.1 @LabelStyle is repeatable, so you don't need to use @LabelStyles any more. Create on 07/05/2010 (12:37:01)
    Author:
    Ana Andres
    • Required Element Summary

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