org.openxava.annotations
Annotation Type DisplaySizes


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

A group of @DisplaySize associated to the same property.

Applies to properties.

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

  @DisplaySizes({
    @DisplaySize(forViews="DEFAULT", value= ... ),
    @DisplaySize(forViews="Simple, VerySimple", value= ... ),
    @DisplaySize(forViews="Complete", value= ... )
  })
 

Author:
Javier Paniza

Required Element Summary
 DisplaySize[] value
           
 

Element Detail

value

public abstract DisplaySize[] value