Example usage for com.vaadin.server FontAwesome SUITCASE

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

Introduction

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

Prototype

FontAwesome SUITCASE

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

Click Source Link

Usage

From source file:ui.button.AddJobOfferButton.java

License:Apache License

public AddJobOfferButton(Integer userId, String language) {
    super("Add Job Offer", FontAwesome.SUITCASE);
    this.userId = userId;
    this.language = language;
    addClickListener(this);
}

From source file:ui.menu.LifetimeMenu.java

License:Apache License

private void initJobOffersOptions() {
    jobOffersButton = new LifetimeButtonLink("Job Offers", FontAwesome.SUITCASE);
    jobOffersButton.addClickListener(this);
    jobOffersButton.addFocusListener(this);

    ViewJobOfferButton viewJobOffersButton = new ViewJobOfferButton(userId, language);
    AddJobOfferButton addJobOfferButton = new AddJobOfferButton(userId, language);
    VerticalLayout options = new VerticalLayout(viewJobOffersButton, addJobOfferButton);
    options.setStyleName("v-menu-options");
    menu.put(jobOffersButton, options);/* w w w  .  j  ava2  s. c  o  m*/
}