Example usage for com.vaadin.server GenericFontIcon getHtml

List of usage examples for com.vaadin.server GenericFontIcon getHtml

Introduction

In this page you can find the example usage for com.vaadin.server GenericFontIcon getHtml.

Prototype

public static String getHtml(String fontFamily, int codePoint) 

Source Link

Document

Utility method for generating HTML that displays an icon from specific fontFamiliy with a given codePoint in the font.

Usage

From source file:org.opencms.ui.FontOpenCms.java

License:Open Source License

/**
 * @see com.vaadin.server.FontIcon#getHtml()
 */
@Override
public String getHtml() {

    return GenericFontIcon.getHtml(getFontFamily(), getCodepoint());
}