Example usage for com.vaadin.server FontAwesome TIMES

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

Introduction

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

Prototype

FontAwesome TIMES

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

Click Source Link

Usage

From source file:ui.form.AchievementFormTranslate.java

public AchievementFormTranslate(LifetimeForm<T> original, LifetimeForm<T> translation) {
    this.original = original;
    this.translation = translation;
    setUpOriginalForm();//from w  w w . j a  v a2 s  .c o  m
    setUpTranslation();
    setSizeFull();
    initBase();
    cancel = new LifetimeButtonLink("Cancel", FontAwesome.TIMES);
    translate = new LifetimeButtonLink("Translate", FontAwesome.LANGUAGE);
    cancel.addClickListener(this);
    translate.addClickListener(this);
    VerticalLayout base = new VerticalLayout(main, new HorizontalLayout(cancel, translate));
    setContent(base);
}

From source file:ui.form.ConfirmForm.java

License:Apache License

public ConfirmForm(T data, LifetimeList<T> list) {
    this.data = data;
    this.list = list;
    cancel = new LifetimeButtonLink("Cancel", FontAwesome.TIMES);
    delete = new LifetimeButtonLink("Delete", FontAwesome.TRASH_O);
    addComponents(cancel, delete);//from  w w  w . j a  v a2  s . c o m
}