Example usage for com.vaadin.ui AbstractSplitPanel getMinSplitPosition

List of usage examples for com.vaadin.ui AbstractSplitPanel getMinSplitPosition

Introduction

In this page you can find the example usage for com.vaadin.ui AbstractSplitPanel getMinSplitPosition.

Prototype

public float getMinSplitPosition() 

Source Link

Document

Returns the current minimum position of the splitter, in #getMinSplitPositionUnit() units.

Usage

From source file:org.lunifera.runtime.web.vaadin.databinding.component.internal.SplitPanelMinSplitPositionProperty.java

License:Open Source License

protected Object doGetValue(Object source) {
    AbstractSplitPanel component = (AbstractSplitPanel) source;
    return component.getMinSplitPosition();
}

From source file:org.lunifera.runtime.web.vaadin.databinding.component.internal.SplitPanelMinSplitPositionUnitProperty.java

License:Open Source License

protected void doSetValue(Object source, Object value) {
    AbstractSplitPanel component = (AbstractSplitPanel) source;
    component.setMinSplitPosition(component.getMinSplitPosition(), (Unit) value);
}