List of usage examples for com.vaadin.ui AbstractSplitPanel.SplitPositionChangeEvent getSplitPosition
public float getSplitPosition()
From source file:com.haulmont.cuba.web.gui.components.WebSplitPanel.java
License:Apache License
protected void fireSplitPositionChangeListener(AbstractSplitPanel.SplitPositionChangeEvent event) { if (positionListener != null) { positionListener.updatePosition(currentPosition, event.getSplitPosition()); }// w w w .java2 s. c om SplitPositionChangeEvent cubaEvent = new SplitPositionChangeEvent(this, currentPosition, event.getSplitPosition()); getEventRouter().fireEvent(SplitPositionChangeListener.class, SplitPositionChangeListener::onSplitPositionChanged, cubaEvent); }