Example usage for com.vaadin.server FontAwesome TREE

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

Introduction

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

Prototype

FontAwesome TREE

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

Click Source Link

Usage

From source file:lifetime.component.user.VitaeButton.java

License:Apache License

public VitaeButton(String language) {
    super(Translator.getTranslation("Vitae", language), language, FontAwesome.TREE);
    setDescription(Translator.getTranslation("Vitae", language));
    setId(StyleClassName.VITAE_BUTTON.getId());
    addClickListener(new ClickListener() {

        @Override/* w  ww . j a v a 2 s. co  m*/
        public void buttonClick(ClickEvent event) {
            getUI().getNavigator().navigateTo(Navigation.VITAE_VIEW.getName());
        }
    });
}