BeanGrid Add-on for Vaadin 8 - Common Annotations
Dependency of BeanGrid Add-on for Vaadin 8 for defining annotations on backend and DTO layer.
BeanGrid Annotations is a stand alone library used by the BeanGrid Add-on for Vaadin 8 to determine annotations used for describing the Vaadin Grid's columns. This add-on is not intended to be used alone but together with BeanGrid Add-on as a dependency of BeanGrid add-on.
The reason why the annotations have been released separately is that they could be used without direct dependencies to Spring or Vaadin already at backend or data transfer projects / modules.
Sample code
public class Customer { @GridColumn(defaultOrder = 0, translationKey = "id") private long id; @GridColumn(defaultOrder = 1, translationKey = "firstName") @EditableColumn private String firstName; @GridColumn(defaultOrder = 2, translationKey = "lastName") private String lastName; @GridColumn(defaultOrder = 3, translationKey = "openInvoiceTotal", alignment = ColumnAlignment.RIGHT) @SummarizableColumn private BigDecimal openInvoiceTotal; ... getters and setters }
Links
Compatibility
Was this helpful? Need more help?
Leave a comment or a question below. You can also join
the chat on Discord or
ask questions on StackOverflow.
Version
First initial release
- Released
- 2017-03-28
- Maturity
- BETA
- License
- Apache License 2.0
Compatibility
- Framework
- Vaadin 8.0+
- Browser
- Browser Independent