Package org.openxava.annotations
Annotation Type LabelStyles
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface LabelStyles
A group of@
associated to the same member.LabelStyle
Applies to properties and references with descriptions list.
It allows assigning several styles or to define a value different for
@
in each view.LabelStyle
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
-
-
-
Element Detail
-
value
LabelStyle[] value
-
-