Search in sources :

Example 66 with CssLayout

use of com.vaadin.ui.CssLayout in project jmix by jmix-framework.

the class WindowBreadCrumbs method createLinksLayout.

protected Layout createLinksLayout() {
    CssLayout linksLayout = new CssLayout();
    linksLayout.setPrimaryStyleName("jmix-breadcrumbs");
    return linksLayout;
}
Also used : CssLayout(com.vaadin.ui.CssLayout)

Example 67 with CssLayout

use of com.vaadin.ui.CssLayout in project jmix by jmix-framework.

the class JmixFileUploadField method initLayout.

protected void initLayout() {
    container = new CssLayout();
    container.addStyleName("jmix-fileupload-container");
    fileNameButton = new JmixButton();
    fileNameButton.setWidth(100, Unit.PERCENTAGE);
    fileNameButton.addStyleName(ValoTheme.BUTTON_LINK);
    fileNameButton.addStyleName("jmix-fileupload-filename");
    setFileNameButtonCaption(null);
    container.addComponent(fileNameButton);
    container.addComponent(uploadButton);
    clearButton = new JmixButton("");
    clearButton.setStyleName("jmix-fileupload-clear");
    container.addComponent(clearButton);
    setShowClearButton(showClearButton);
    setShowFileName(false);
    setWidthUndefined();
}
Also used : CssLayout(com.vaadin.ui.CssLayout) JmixButton(io.jmix.ui.widget.JmixButton)

Example 68 with CssLayout

use of com.vaadin.ui.CssLayout in project jmix by jmix-framework.

the class AbstractDataGrid method createTopPanel.

protected CssLayout createTopPanel() {
    CssLayout topPanel = new CssLayout();
    topPanel.setStyleName("jmix-data-grid-top");
    return topPanel;
}
Also used : CssLayout(com.vaadin.ui.CssLayout)

Example 69 with CssLayout

use of com.vaadin.ui.CssLayout in project jmix by jmix-framework.

the class AbstractTable method createTopPanel.

protected CssLayout createTopPanel() {
    CssLayout topPanel = new CssLayout();
    topPanel.setStyleName("jmix-table-top");
    return topPanel;
}
Also used : CssLayout(com.vaadin.ui.CssLayout)

Aggregations

CssLayout (com.vaadin.ui.CssLayout)69 Label (com.vaadin.ui.Label)25 Button (com.vaadin.ui.Button)12 VerticalLayout (com.vaadin.ui.VerticalLayout)12 HorizontalLayout (com.vaadin.ui.HorizontalLayout)11 Component (com.vaadin.ui.Component)7 ClickEvent (com.vaadin.ui.Button.ClickEvent)6 ClickListener (com.vaadin.ui.Button.ClickListener)6 List (java.util.List)6 CounterStatisticModel (com.github.markash.ui.component.card.CounterStatisticModel)5 CounterStatisticsCard (com.github.markash.ui.component.card.CounterStatisticsCard)5 Page (com.vaadin.server.Page)3 Layout (com.vaadin.ui.Layout)3 HorizontalFlexLayout (de.catma.ui.layout.HorizontalFlexLayout)3 Path (java.nio.file.Path)3 EventBus (com.google.common.eventbus.EventBus)2 ViewRiksdagenGovermentRoleMember (com.hack23.cia.model.internal.application.data.ministry.impl.ViewRiksdagenGovermentRoleMember)2 ViewRiksdagenMinistry (com.hack23.cia.model.internal.application.data.ministry.impl.ViewRiksdagenMinistry)2 ViewRiksdagenPartyRoleMember (com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenPartyRoleMember)2 ViewRiksdagenPartySummary (com.hack23.cia.model.internal.application.data.party.impl.ViewRiksdagenPartySummary)2