Example usage for com.vaadin.ui Window getPositionX

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

Introduction

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

Prototype

public int getPositionX() 

Source Link

Document

Gets the distance of Window left border in pixels from left border of the containing (main window) when the window is in WindowMode#NORMAL .

Usage

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

License:Apache License

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