Package org.openxava.annotations
Annotation Type Tab
-
@Repeatable(Tabs.class) @Retention(RUNTIME) @Target(TYPE) public @interface Tab
Define the behavior for tabular data presentation (List mode).Applies to entities.
Example:
@Tab(name="ActiveYear", filter=ActiveYearFilter.class, properties="year, number, customer.number, customer.name, amountsSum, vat, detailsCount, paid, importance", baseCondition="${year} = ?" )- Author:
- Javier Paniza
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringbaseConditionCondition to be fulfilled by the displayed data.java.lang.StringdefaultOrderTo specify the initial order for data.java.lang.StringeditablePropertiesList of properties that can be edited inline by the user.java.lang.StringeditorEditor from default-editors.xml or editors.xml used for default list format.java.lang.StringeditorsEditors from default-editors.xml or editors.xml used for all the list format.java.lang.ClassfilterAllows to define programmatically some logic to apply to the values entered by user when he filters the list data.java.lang.StringnameYou can define several tabs in a entity, and set a name for each one.java.lang.StringpropertiesThe list of properties to show initially.RowStyle[]rowStylesA simple way to specify a different visual style for some rows.
-
-
-
-
rowStyles
RowStyle[] rowStyles
A simple way to specify a different visual style for some rows.Normally to emphasize rows that fulfill certain condition.
- Default:
- {}
-
-