org.openxava.annotations
Annotation Type LabelFormats


@Retention(value=RUNTIME)
@Target(value={FIELD,METHOD})
public @interface LabelFormats

A group of @LabelFormat associated to the same member.

Applies to properties and references with descriptions list.

It allows to define a value different for @LabelFormat in each view.
Example:

  @LabelFormats({
    @LabelFormat(forViews="DEFAULT", value= ... ),
    @LabelFormat(forViews="Simple, VerySimple", value= ... ),
    @LabelFormat(forViews="Complete", value= ... )
  })
 

Author:
Javier Paniza

Required Element Summary
 LabelFormat[] value
           
 

Element Detail

value

public abstract LabelFormat[] value