public class BrowserWindowResizeEvent extends EventObject
BrowserWindowResizeListener
,
Serialized Formsource
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 page 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 © 2023. All rights reserved.