Package org.openxava.annotations
Annotation Type DisplaySizes
-
@Retention(RUNTIME) @Target({FIELD,METHOD}) public @interface DisplaySizes
A group of@
associated to the same property.DisplaySize
Applies to properties.
It allows to define a value different for
@
in each view.DisplaySize
Example:@DisplaySizes({ @DisplaySize(forViews="DEFAULT", value= ... ), @DisplaySize(forViews="Simple, VerySimple", value= ... ), @DisplaySize(forViews="Complete", value= ... ) })
Since 6.1 @DisplaySize is repeatable, so you don't need to use @DisplaySizes any more.- Author:
- Javier Paniza
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description DisplaySize[]
value
-
-
-
Element Detail
-
value
DisplaySize[] value
-
-