public static class Page.BrowserWindowResizeEvent extends EventObject
source| Constructor and Description |
|---|
BrowserWindowResizeEvent(Page source,
int width,
int height)
Creates a new event
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight()
Gets the new browser window height
|
Page |
getSource() |
int |
getWidth()
Gets the new browser window width
|
toStringpublic BrowserWindowResizeEvent(Page source, int width, int height)
source - the uI for which the browser window has been resizedwidth - the new width of the browser windowheight - the new height of the browser windowpublic Page getSource()
getSource in class EventObjectpublic int getHeight()
public int getWidth()
Copyright © 2017 Vaadin Ltd. All rights reserved.