@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface LabelFormats
@LabelFormat
associated to the same member. 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.
Modifier and Type | Required Element and Description |
---|---|
LabelFormat[] |
value |
public abstract LabelFormat[] value