Example usage for com.vaadin.ui Window getPositionY

List of usage examples for com.vaadin.ui Window getPositionY

Introduction

In this page you can find the example usage for com.vaadin.ui Window getPositionY.

Prototype

public int getPositionY() 

Source Link

Document

Gets the distance of Window top border in pixels from top border of the containing (main window) when the window is in WindowMode#NORMAL state, or when next set to that state.

Usage

From source file:com.vaadHL.utl.state.ScreenInfo.java

License:Apache License

/**
 * Gets information from a window.//  w w  w. j av a  2  s . c  om
 * 
 * @param wi
 *            the Window
 */
public void readFrom(Window wi) {
    positionX = wi.getPositionX();
    positionY = wi.getPositionY();
    sizeFrom(wi);
}