## Uses of Interface
com.gargoylesoftware.htmlunit.Page

Packages that use Page
com.gargoylesoftware.htmlunit: Framework classes (contains the WebClient class which is the main entry point).
com.gargoylesoftware.htmlunit.attachment: Attachment-related classes.
com.gargoylesoftware.htmlunit.html: Classes specific to HTML pages, particularly the HtmlPage which represents an HTML document and provides access to its content.
com.gargoylesoftware.htmlunit.xml: Classes specific to xml pages

Uses of Page in com.gargoylesoftware.htmlunit

Classes in com.gargoylesoftware.htmlunit that implement Page
`class` `JavaScriptPage` A generic page that will be returned for JavaScript content.
`class` `SgmlPage` A basic class to be implemented by `HtmlPage` and `XmlPage`.
`class` `TextPage` A generic page that will be returned for any text related content.
`class` `UnexpectedPage` A generic page that is returned whenever an unexpected content type is returned by the server.

Methods in com.gargoylesoftware.htmlunit with type parameters of type Page

`

`<P extends Page> P`

`

`WebClient.getPage(java.lang.String url)`
Convenient method to build an URL and load it into the current WebWindow as it would be done by `WebClient.getPage(WebWindow, WebRequestSettings)`.

`

`<P extends Page> P`

`

`WebClient.getPage(java.net.URL url)`
Convenient method to load a URL into the current top WebWindow as it would be done by `WebClient.getPage(WebWindow, WebRequestSettings)`.

`

`<P extends Page> P`

`

`WebClient.getPage(WebRequestSettings request)`
Convenient method to load a web request into the current top WebWindow.

`

`<P extends Page> P`

`

`WebClient.getPage(WebWindow opener, java.lang.String target, WebRequestSettings params)`
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.

`

`<P extends Page> P`

`

`WebClient.getPage(WebWindow webWindow, WebRequestSettings parameters)`
Send a request to a server and return a Page that represents the response from the server.

Methods in com.gargoylesoftware.htmlunit that return Page
`Page` `DefaultPageCreator.createPage(WebResponse webResponse, WebWindow webWindow)` Create a Page object for the specified web response.
`Page` `PageCreator.createPage(WebResponse webResponse, WebWindow webWindow)` Create a Page object for the specified web response.
`Page` `WebWindowImpl.getEnclosedPage()` Returns the currently loaded page or null if no page has been loaded.
`Page` `WebWindow.getEnclosedPage()` Returns the currently loaded page or null if no page has been loaded.
`Page` `WebWindowEvent.getNewPage()` Returns the oldPage.
`Page` `ScriptResult.getNewPage()` Returns the page that is loaded at the end of the script execution.
`Page` `WebWindowEvent.getOldPage()` Returns the oldPage.
`Page` `WebClient.loadWebResponseInto(WebResponse webResponse, WebWindow webWindow)` Creates a page based on the specified response and inserts it into the specified window.

Methods in com.gargoylesoftware.htmlunit with parameters of type Page
`protected void` `History.addPage(Page page)` Adds a new page to the navigation history.
`void` `CollectingAlertHandler.handleAlert(Page page, java.lang.String message)` Handles the alert.
`void` `AlertHandler.handleAlert(Page page, java.lang.String message)` Handle an alert for the given page.
`boolean` `ConfirmHandler.handleConfirm(Page page, java.lang.String message)` Handles a confirm for the specified page.
`boolean` `OnbeforeunloadHandler.handleEvent(Page page, java.lang.String returnValue)` Handles an `onbeforeunload` event for the specified page.
`java.lang.String` `PromptHandler.handlePrompt(Page page, java.lang.String message)` Handle a call to Window.prompt() for the given page.
`void` `WaitingRefreshHandler.handleRefresh(Page page, java.net.URL url, int requestedWait)` Refreshes the specified page using the specified URL after the specified number of seconds.
`void` `ThreadedRefreshHandler.handleRefresh(Page page, java.net.URL url, int seconds)` Refreshes the specified page using the specified URL after the specified number of seconds.
`void` `ImmediateRefreshHandler.handleRefresh(Page page, java.net.URL url, int seconds)` Immediately refreshes the specified page using the specified URL.
`void` `RefreshHandler.handleRefresh(Page page, java.net.URL url, int seconds)` Refreshes the specified page using the specified URL after the specified number of seconds.
`void` `WebClient.initialize(Page newPage)` INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Initializes a new page for JavaScript.
`void` `WebWindowImpl.setEnclosedPage(Page page)` Sets the currently loaded page.
`void` `WebWindow.setEnclosedPage(Page page)` Sets the currently loaded page.
`void` `StatusHandler.statusMessageChanged(Page page, java.lang.String message)` Handles a change to `window.status`.

Constructors in com.gargoylesoftware.htmlunit with parameters of type Page
`ScriptResult(java.lang.Object javaScriptResult, Page newPage)` Creates a new instance.
`WebWindowEvent(WebWindow webWindow, int type, Page oldPage, Page newPage)` Creates an instance.

Uses of Page in com.gargoylesoftware.htmlunit.attachment

Methods in com.gargoylesoftware.htmlunit.attachment that return Page
`Page` `Attachment.getPage()` Returns the attached page.

Methods in com.gargoylesoftware.htmlunit.attachment with parameters of type Page
`void` `CollectingAttachmentHandler.handleAttachment(Page page)` Handles the specified attached page.
`void` `AttachmentHandler.handleAttachment(Page page)` Handles the specified attached page.

Constructors in com.gargoylesoftware.htmlunit.attachment with parameters of type Page
`Attachment(Page page)` Creates a new attachment for the specified page.

Uses of Page in com.gargoylesoftware.htmlunit.html

Classes in com.gargoylesoftware.htmlunit.html that implement Page
`class` `HtmlPage` A representation of an HTML page returned from a server.
`class` `XHtmlPage` A representation of an XHTML page returned from a server.

Methods in com.gargoylesoftware.htmlunit.html with type parameters of type Page

`

`<P extends Page> P`

`

`HtmlElement.click()`
Simulates clicking on this element, returning the page in the window that has the focus after the element has been clicked.

`

`<P extends Page> P`

`

`HtmlElement.click(boolean shiftKey, boolean ctrlKey, boolean altKey)`
Simulates clicking on this element, returning the page in the window that has the focus after the element has been clicked.

`

`<P extends Page> P`

`

`HtmlElement.click(com.gargoylesoftware.htmlunit.javascript.host.Event event)`
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Simulates clicking on this element, returning the page in the window that has the focus after the element has been clicked.

`

`<P extends Page> P`

`

`HtmlImageInput.click(int x, int y)`
Simulate clicking this input with a pointing device.

`

`<P extends Page> P`

`

`HtmlInput.click(int x, int y)`
Simulate clicking this input with a pointing device.

`

`<P extends Page> P`

`

`HtmlElement.dblClick()`
Simulates double-clicking on this element, returning the page in the window that has the focus after the element has been clicked.

`

`<P extends Page> P`

`

`HtmlElement.dblClick(boolean shiftKey, boolean ctrlKey, boolean altKey)`
Simulates double-clicking on this element, returning the page in the window that has the focus after the element has been clicked.

Methods in com.gargoylesoftware.htmlunit.html that return Page
`Page` `HtmlImage.click()` Simulates clicking this element at the position `(0, 0)`.
`Page` `HtmlImageInput.click()` Submit the form that contains this input.
`Page` `HtmlLabel.click()` Clicks the label and propagates to the referenced element.
`Page` `HtmlImage.click(int x, int y)` Simulates clicking this element at the specified position.
`protected Page` `HtmlImage.doClickAction(Page defaultPage)` Performs the click action on the enclosing A tag (if any).
`protected Page` `HtmlCheckBoxInput.doClickAction(Page defaultPage)` Override so that checkbox can change its state correctly when its click() method is called.
`protected Page` `HtmlImageInput.doClickAction(Page defaultPage)` This method will be called if there either wasn't an onclick handler or there was but the result of that handler was true.
`protected Page` `HtmlArea.doClickAction(Page defaultPage)` This method will be called if there either wasn't an `onclick` handler, or if there was one, but the result of that handler wasn't `false`.
`protected Page` `HtmlResetInput.doClickAction(Page defaultPage)` This method will be called if there either wasn't an onclick handler or there was but the result of that handler was true.
`protected Page` `HtmlOption.doClickAction(Page defaultPage)` Selects the option if it's not already selected.
`protected Page` `HtmlButton.doClickAction(Page defaultPage)` This method will be called if there either wasn't an `onclick` handler, or if there was one, but the result of that handler wasn't `false`.
`protected Page` `HtmlSubmitInput.doClickAction(Page defaultPage)` This method will be called if there either wasn't an onclick handler or there was but the result of that handler was true.
`protected Page` `HtmlRadioButtonInput.doClickAction(Page defaultPage)` Override of default clickAction that makes this radio button the selected one when it is clicked.
`protected Page` `HtmlAnchor.doClickAction(Page defaultPage)` This method will be called if there either wasn't an `onclick` handler, or there was but the result of that handler was `true`.
`protected Page` `HtmlElement.doClickAction(Page defaultPage)` This method will be called if there either wasn't an `onclick` handler, or if there was one, but the result of that handler wasn't `false`.
`protected Page` `HtmlAnchor.doClickAction(Page defaultPage, java.lang.String hrefSuffix)` Same as `HtmlAnchor.doClickAction(Page)`, except that it accepts an href suffix, needed when a click is performed on an image map to pass information on the click position.
`Page` `BaseFrame.getEnclosedPage()` Returns the currently loaded page in the enclosed window.
`Page` `HtmlElement.mouseDown()` Simulates clicking the mouse on this element, returning the page which this element's window contains after the mouse click.
`Page` `HtmlElement.mouseDown(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)` Simulates clicking the mouse on this element, returning the page which this element's window contains after the mouse click.
`Page` `HtmlElement.mouseMove()` Simulates moving the mouse over this element, returning the page which this element's window contains after the mouse move.
`Page` `HtmlElement.mouseMove(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)` Simulates moving the mouse over this element, returning the page which this element's window contains after the mouse move.
`Page` `HtmlElement.mouseOut()` Simulates moving the mouse out of this element, returning the page which this element's window contains after the mouse move.
`Page` `HtmlElement.mouseOut(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)` Simulates moving the mouse out of this element, returning the page which this element's window contains after the mouse move.
`Page` `HtmlElement.mouseOver()` Simulates moving the mouse over this element, returning the page which this element's window contains after the mouse move.
`Page` `HtmlElement.mouseOver(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)` Simulates moving the mouse over this element, returning the page which this element's window contains after the mouse move.
`Page` `HtmlElement.mouseUp()` Simulates releasing the mouse click on this element, returning the page which this element's window contains after the mouse click release.
`Page` `HtmlElement.mouseUp(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)` Simulates releasing the mouse click on this element, returning the page which this element's window contains after the mouse click release.
`Page` `HtmlAnchor.openLinkInNewWindow()` Open this link in a new window, much as web browsers do when you shift-click a link or use the context menu to open in a new window.
`Page` `HtmlPage.refresh()` Refreshes the page by sending the same parameters as previously sent to get this page.
`Page` `HtmlForm.reset()` Resets this form to its initial values, returning the page contained by this form's window after the reset.
`Page` `HtmlElement.rightClick()` Simulates right clicking the mouse on this element, returning the page which this element's window contains after the mouse click.
`Page` `HtmlElement.rightClick(boolean shiftKey, boolean ctrlKey, boolean altKey)` Simulates right clicking the mouse on this element, returning the page which this element's window contains after the mouse click.
`Page` `HtmlCheckBoxInput.setChecked(boolean isChecked)` Sets the "checked" attribute, returning the page that occupies this input's window after setting the attribute.
`Page` `HtmlInput.setChecked(boolean isChecked)` Sets the "checked" attribute, returning the page that occupies this input's window after setting the attribute.
`Page` `HtmlRadioButtonInput.setChecked(boolean isChecked)` Sets the "checked" attribute.
`Page` `HtmlOption.setSelected(boolean selected)` Sets the selected state of this option.
`Page` `HtmlSelect.setSelectedAttribute(HtmlOption selectedOption, boolean isSelected)` Sets the "selected" state of the specified option.
`Page` `HtmlSelect.setSelectedAttribute(HtmlOption selectedOption, boolean isSelected, boolean invokeOnFocus)` INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Sets the "selected" state of the specified option.
`Page` `HtmlSelect.setSelectedAttribute(java.lang.String optionValue, boolean isSelected)` Sets the "selected" state of the specified option.
`Page` `HtmlInput.setValueAttribute(java.lang.String newValue)` Sets the content of the "value" attribute, executing onchange handlers if appropriate.
`Page` `HtmlForm.submit()` Submit this form as if the first <input type="submit" button in the form was clicked.
`Page` `HtmlForm.submit(SubmittableElement submitElement)` INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
`Page` `HtmlElement.type(char c)` Simulates typing the specified character while this element has focus, returning the page contained by this element's window after typing.
`Page` `HtmlElement.type(char c, boolean shiftKey, boolean ctrlKey, boolean altKey)` Simulates typing the specified character while this element has focus, returning the page contained by this element's window after typing.

Methods in com.gargoylesoftware.htmlunit.html with parameters of type Page
`protected Page` `HtmlImage.doClickAction(Page defaultPage)` Performs the click action on the enclosing A tag (if any).
`protected Page` `HtmlCheckBoxInput.doClickAction(Page defaultPage)` Override so that checkbox can change its state correctly when its click() method is called.
`protected Page` `HtmlImageInput.doClickAction(Page defaultPage)` This method will be called if there either wasn't an onclick handler or there was but the result of that handler was true.
`protected Page` `HtmlArea.doClickAction(Page defaultPage)` This method will be called if there either wasn't an `onclick` handler, or if there was one, but the result of that handler wasn't `false`.
`protected Page` `HtmlResetInput.doClickAction(Page defaultPage)` This method will be called if there either wasn't an onclick handler or there was but the result of that handler was true.
`protected Page` `HtmlOption.doClickAction(Page defaultPage)` Selects the option if it's not already selected.
`protected Page` `HtmlButton.doClickAction(Page defaultPage)` This method will be called if there either wasn't an `onclick` handler, or if there was one, but the result of that handler wasn't `false`.
`protected Page` `HtmlSubmitInput.doClickAction(Page defaultPage)` This method will be called if there either wasn't an onclick handler or there was but the result of that handler was true.
`protected Page` `HtmlRadioButtonInput.doClickAction(Page defaultPage)` Override of default clickAction that makes this radio button the selected one when it is clicked.
`protected Page` `HtmlAnchor.doClickAction(Page defaultPage)` This method will be called if there either wasn't an `onclick` handler, or there was but the result of that handler was `true`.
`protected Page` `HtmlElement.doClickAction(Page defaultPage)` This method will be called if there either wasn't an `onclick` handler, or if there was one, but the result of that handler wasn't `false`.
`protected Page` `HtmlAnchor.doClickAction(Page defaultPage, java.lang.String hrefSuffix)` Same as `HtmlAnchor.doClickAction(Page)`, except that it accepts an href suffix, needed when a click is performed on an image map to pass information on the click position.

Uses of Page in com.gargoylesoftware.htmlunit.xml

Classes in com.gargoylesoftware.htmlunit.xml that implement Page
`class` `XmlPage` A page that will be returned for response with content type "text/xml".

Copyright © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.