org.openxava.annotations
Annotation Type LabelStyles


@Retention(value=RUNTIME)
@Target(value={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).
Create on 07/05/2010 (12:37:01)

Author:
Ana Andres

Required Element Summary
 LabelStyle[] value
           
 

Element Detail

value

public abstract LabelStyle[] value