Example usage for com.vaadin.shared.ui MarginInfo getBitMask

List of usage examples for com.vaadin.shared.ui MarginInfo getBitMask

Introduction

In this page you can find the example usage for com.vaadin.shared.ui MarginInfo getBitMask.

Prototype

@Deprecated
public int getBitMask() 

Source Link

Document

Returns the current bit mask that make up the margin settings.

Usage

From source file:com.haulmont.cuba.web.toolkit.ui.CubaCssActionsLayout.java

License:Apache License

@Override
public void setMargin(MarginInfo marginInfo) {
    getState().marginsBitmask = marginInfo.getBitMask();
}

From source file:com.haulmont.cuba.web.toolkit.ui.CubaGroupBox.java

License:Apache License

public void setOuterMargin(MarginInfo marginInfo) {
    getState().outerMarginsBitmask = marginInfo.getBitMask();
}