com.vaadin.terminal
Class Page.BrowserWindowResizeEvent
java.lang.Object
java.util.EventObject
com.vaadin.terminal.Page.BrowserWindowResizeEvent
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Page
public class Page.BrowserWindowResizeEvent
- extends EventObject
Event that is fired when a browser window containing a root is resized.
- See Also:
- Serialized Form
Page.BrowserWindowResizeEvent
public Page.BrowserWindowResizeEvent(Page source,
int width,
int height)
- Creates a new event
- Parameters:
source
- the root for which the browser window has been resizedwidth
- the new width of the browser windowheight
- the new height of the browser window
getSource
public Page getSource()
- Overrides:
getSource
in class EventObject
getHeight
public int getHeight()
- Gets the new browser window height
- Returns:
- an integer with the new pixel height of the browser window
getWidth
public int getWidth()
- Gets the new browser window width
- Returns:
- an integer with the new pixel width of the browser window
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.