List of usage examples for com.vaadin.server FontAwesome getCodepoint
@Override public int getCodepoint()
From source file:com.mycollab.module.project.ui.ProjectAssetsManager.java
License:Open Source License
public static String getPriorityHtml(String priority) { if (StringUtils.isBlank(priority)) { priority = Priority.Medium.name(); }/*from ww w. ja v a 2 s .c om*/ FontAwesome fontAwesome = getPriority(priority); return String.format("<span class=\"priority-%s v-icon\" style=\"font-family: FontAwesome;\">&#x%s;</span>", priority.toLowerCase(), Integer.toHexString(fontAwesome.getCodepoint())); }