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