Example usage for com.vaadin.server FontAwesome REGISTERED

List of usage examples for com.vaadin.server FontAwesome REGISTERED

Introduction

In this page you can find the example usage for com.vaadin.server FontAwesome REGISTERED.

Prototype

FontAwesome REGISTERED

To view the source code for com.vaadin.server FontAwesome REGISTERED.

Click Source Link

Usage

From source file:com.anphat.customer.controller.CustomerContactController.java

private void addButtonOnTblTermInfo(CustomPageTableFilter tbl) {
    tbl.addGeneratedColumn("btnReport", new CustomTable.ColumnGenerator() {
        @Override/*from   w w  w  . j  a v  a2 s .  com*/
        public Object generateCell(CustomTable source, Object itemId, Object columnId) {
            TermInformationDTO term = (TermInformationDTO) itemId;
            Button btnAdd = new Button(FontAwesome.REGISTERED);
            btnAdd.addStyleName(Runo.BUTTON_LINK);
            addBtnReportClickListener(btnAdd, term);
            return btnAdd;
        }
    });
}