List of usage examples for com.vaadin.server FontAwesome CLOUD_UPLOAD
FontAwesome CLOUD_UPLOAD
To view the source code for com.vaadin.server FontAwesome CLOUD_UPLOAD.
Click Source Link
From source file:com.esofthead.mycollab.module.crm.ui.components.ComponentUtils.java
License:Open Source License
public static MButton createImportEntitiesButton() { MButton importBtn = new MButton(""); importBtn.setDescription("Import"); importBtn.setIcon(FontAwesome.CLOUD_UPLOAD); importBtn.setStyleName(UIConstants.THEME_BLUE_LINK); importBtn.addStyleName("small-padding"); return importBtn; }
From source file:com.hybridbpm.ui.view.DevelopmentView.java
License:Apache License
public DevelopmentView() { Design.read(this); Responsive.makeResponsive(panelLayout); moduleType.addContainerProperty("NAME", String.class, null); moduleType.addItem(Boolean.FALSE).getItemProperty("NAME").setValue("Module"); moduleType.addItem(Boolean.TRUE).getItemProperty("NAME").setValue("Template"); moduleType.setItemCaptionMode(AbstractSelect.ItemCaptionMode.PROPERTY); moduleType.setItemCaptionPropertyId("NAME"); moduleType.setValue(Boolean.FALSE); moduleType.addValueChangeListener(this); btnAdd.setIcon(FontAwesome.PLUS_CIRCLE); btnAdd.addClickListener(this); btnRefresh.setIcon(FontAwesome.REFRESH); btnRefresh.addClickListener(this); btnExport.setIcon(FontAwesome.CLOUD_UPLOAD); btnExport.addClickListener(this); btnImport.setIcon(FontAwesome.CLOUD_DOWNLOAD); btnImport.addClickListener(this); btnRegenerate.setIcon(FontAwesome.WRENCH); btnRegenerate.addClickListener(this); modulesLayout.setMargin(new MarginInfo(true, false, false, false)); modulesLayout.setExpandRatio(modulesTable, 1f); modulesTable.addContainerProperty("title", Component.class, null, "Title", null, Table.Align.LEFT); modulesTable.setColumnExpandRatio("title", 1f); modulesTable.addContainerProperty("updateDate", Date.class, null, "Update Date", null, Table.Align.LEFT); modulesTable.addContainerProperty("actions", TableButtonBar.class, null, "Actions", null, Table.Align.LEFT); modulesTable.setColumnWidth("updateDate", 150); modulesTable.setColumnWidth("actions", 80); modulesTable.addGeneratedColumn("updateDate", new DateColumnGenerator()); modulesTable.setVisibleColumns("title", "updateDate", "actions"); }
From source file:com.mycollab.module.crm.ui.components.ComponentUtils.java
License:Open Source License
public static final MButton createImportEntitiesButton() { MButton importBtn = new MButton("").withIcon(FontAwesome.CLOUD_UPLOAD) .withStyleName(WebThemes.BUTTON_ACTION, WebThemes.BUTTON_SMALL_PADDING); importBtn.setDescription("Import"); return importBtn; }