Class BrowserWindowResizeEvent

    • Constructor Detail

      • BrowserWindowResizeEvent

        public BrowserWindowResizeEvent​(Page source,
                                        int width,
                                        int height)
        Creates a new event.
        Parameters:
        source - the page for which the browser window has been resized
        width - the new width of the browser window
        height - the new height of the browser window
    • Method Detail

      • 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