@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface LabelStyles
@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 @
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).
Modifier and Type | Required Element and Description |
---|---|
LabelStyle[] |
value |
public abstract LabelStyle[] value