Example usage for com.vaadin.client StyleConstants UI_LAYOUT

List of usage examples for com.vaadin.client StyleConstants UI_LAYOUT

Introduction

In this page you can find the example usage for com.vaadin.client StyleConstants UI_LAYOUT.

Prototype

String UI_LAYOUT

To view the source code for com.vaadin.client StyleConstants UI_LAYOUT.

Click Source Link

Document

Added to all layouts to denote they are layouts.

Usage

From source file:com.haulmont.cuba.web.toolkit.ui.client.orderedactionslayout.CubaOrderedActionsLayoutWidget.java

License:Apache License

@Override
public void setStyleName(String style) {
    super.setStyleName(style);
    addStyleName(StyleConstants.UI_LAYOUT);
    addStyleName(vertical ? "v-vertical" : "v-horizontal");
}

From source file:de.bonprix.gridstacklayout.client.GridStackLayoutWidget.java

License:Open Source License

@Override
public void setStyleName(final String style) {
    super.setStyleName(style);
    addStyleName(StyleConstants.UI_LAYOUT);
}