Example usage for com.vaadin.ui AbstractSplitPanel getMaxSplitPosition

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

Introduction

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

Prototype

public float getMaxSplitPosition() 

Source Link

Document

Returns the current maximum position of the splitter, in #getMaxSplitPositionUnit() units.

Usage

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

License:Open Source License

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

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

License:Open Source License

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