Example usage for com.vaadin.client VCaption CLASSNAME

List of usage examples for com.vaadin.client VCaption CLASSNAME

Introduction

In this page you can find the example usage for com.vaadin.client VCaption CLASSNAME.

Prototype

String CLASSNAME

To view the source code for com.vaadin.client VCaption CLASSNAME.

Click Source Link

Usage

From source file:com.haulmont.cuba.web.toolkit.ui.client.fieldgrouplayout.CubaFieldGroupLayoutComponentSlot.java

License:Apache License

protected Element createRightCaption() {
    Element rightCaption = DOM.createDiv();

    getLayoutManager().registerDependency((ManagedLayout) getChild().getParent(), rightCaption);

    rightCaption.setClassName(VCaption.CLASSNAME);
    rightCaption.addClassName(INDICATORS_CLASSNAME);
    rightCaption.getStyle().setDisplay(Style.Display.INLINE_BLOCK);
    rightCaption.getStyle().setPosition(Style.Position.ABSOLUTE);

    return rightCaption;
}