List of usage examples for com.vaadin.server FontAwesome LEAF
FontAwesome LEAF
To view the source code for com.vaadin.server FontAwesome LEAF.
Click Source Link
From source file:com.save.employee.request.RLDataContainer.java
public RLDataContainer(int employeeId) { this.employeeId = employeeId; addContainerProperty("control no.", String.class, null); addContainerProperty("reimbursement", Double.class, null); // addContainerProperty("area", Integer.class, null); addContainerProperty("activity", String.class, null); addContainerProperty("date", String.class, null); addContainerProperty("venue", String.class, null); addContainerProperty("edit", String.class, null); addContainerProperty("liquidate", String.class, null); addContainerProperty("view", String.class, null); addContainerProperty("del", String.class, null); addContainerProperty("id", Integer.class, null); for (LiquidationForm lf : rls.getAllRLByEmployeeId(getEmployeeId())) { Item item = getItem(addItem());//from www .ja v a 2 s .com item.getItemProperty("control no.").setValue(lf.getControlNo()); item.getItemProperty("reimbursement").setValue(lf.getReimbursedAmount()); // item.getItemProperty("area").setValue(lf.getAreaCode()); item.getItemProperty("activity").setValue(lf.getActivity()); item.getItemProperty("date").setValue( CommonUtilities.convertDateWithFormat(lf.getDateOfActivity().toString(), "yyyy-MMM-dd")); item.getItemProperty("venue").setValue(lf.getVenue()); item.getItemProperty("edit").setValue(FontAwesome.PENCIL.getHtml()); item.getItemProperty("liquidate").setValue(FontAwesome.LEAF.getHtml()); item.getItemProperty("view").setValue(FontAwesome.EYE.getHtml()); item.getItemProperty("del").setValue(FontAwesome.TRASH_O.getHtml()); item.getItemProperty("id").setValue(lf.getRequestId()); } }