Example usage for com.vaadin.server FontAwesome MAGIC

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

Introduction

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

Prototype

FontAwesome MAGIC

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

Click Source Link

Usage

From source file:com.hybridbpm.ui.view.CaseView.java

License:Apache License

public CaseView() {
    Design.read(this);
    Responsive.makeResponsive(panelLayout);
    tabSheet.setSizeFull();/*from  ww  w.  j  a va2s.c  o  m*/
    tabSheet.addTab(startProcessLayout, "Start case", FontAwesome.MAGIC);
    tabSheet.addTab(myCaseInProgressLayout, "In progress", FontAwesome.BRIEFCASE);
    tabSheet.addTab(myCaseDoneLayout, "Done", FontAwesome.ARCHIVE);
    tabSheet.setSelectedTab(myCaseInProgressLayout);
    tabSheet.addSelectedTabChangeListener(this);
    tabSheet.setCloseHandler(this);
    startProcessLayout.refreshTable();
    startProcessLayout.setTabSheet(tabSheet);
    myCaseInProgressLayout.setTabSheet(tabSheet);
    myCaseDoneLayout.setTabSheet(tabSheet);
}