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
|
toString
public 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 EventObject
public int getHeight()
public int getWidth()
Copyright © 2019 Vaadin Ltd. All rights reserved.