Uses of Interface
com.gargoylesoftware.htmlunit.Page

Packages that use Page
com.gargoylesoftware.htmlunit Framework classes 
com.gargoylesoftware.htmlunit.html Classes specific to html pages 
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 that return Page
 Page PageCreator.createPage(WebResponse webResponse, WebWindow webWindow)
          Create a Page object for the specified web response.
 Page DefaultPageCreator.createPage(WebResponse webResponse, WebWindow webWindow)
          Create a Page object for the specified web response.
 Page WebWindow.getEnclosedPage()
          Return the currently loaded page or null if no page has been loaded.
 Page WebWindowImpl.getEnclosedPage()
          Return the currently loaded page or null if no page has been loaded.
 Page SgmlPage.getNativePage()
          INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns the Page interface, should be removed, and use DomNode.getPage() instead.
 Page ScriptResult.getNewPage()
          Return the page that is loaded at the end of the script execution.
 Page WebWindowEvent.getNewPage()
          Return the oldPage
 Page WebWindowEvent.getOldPage()
          Return the oldPage
 Page WebClient.getPage(String url)
          Convenient method to build an URL and load it into the current WebWindow
 Page WebClient.getPage(URL url)
          Convenient method to load a URL into the current WebWindow
 Page WebClient.getPage(WebRequestSettings request)
          Convenient method to load a web request into the current WebWindow
 Page WebClient.getPage(WebWindow opener, String target, WebRequestSettings params)
          INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
 Page WebClient.getPage(WebWindow webWindow, WebRequestSettings parameters)
          Send a request to a server and return a Page that represents the response from the server.
 Page WebClient.loadWebResponseInto(WebResponse webResponse, WebWindow webWindow)
          Use the specified WebResponse to create a Page object which will then get inserted into the WebWindow.
 

Methods in com.gargoylesoftware.htmlunit with parameters of type Page
 void AlertHandler.handleAlert(Page page, String message)
          Handle an alert for the given page.
 void CollectingAlertHandler.handleAlert(Page page, String message)
          Handle the alert.
 boolean ConfirmHandler.handleConfirm(Page page, String message)
          Handle an alert for the given page.
 boolean OnbeforeunloadHandler.handleEvent(Page page, String message)
          Handle an onbeforeunload event for the given page.
 String PromptHandler.handlePrompt(Page page, String message)
          Handle a call to Window.prompt() for the given page.
 void RefreshHandler.handleRefresh(Page page, URL url, int seconds)
          Refreshes the specified page using the specified URL after the specified number of seconds.
 void WaitingRefreshHandler.handleRefresh(Page page, URL url, int requestedWait)
          Refreshes the specified page using the specified URL after the specified number of seconds.
 void ImmediateRefreshHandler.handleRefresh(Page page, URL url, int seconds)
          Immediately refreshes the specified page using the specified URL.
 void ThreadedRefreshHandler.handleRefresh(Page page, 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.
Initialize a new page for JavaScript.
 void WebWindow.setEnclosedPage(Page page)
          Set the currently loaded page.
 void WebWindowImpl.setEnclosedPage(Page page)
          Set the currently loaded page.
 void StatusHandler.statusMessageChanged(Page page, String message)
          Handle an alert for the given page.
 

Constructors in com.gargoylesoftware.htmlunit with parameters of type Page
ScriptResult(Object javaScriptResult, Page newPage)
          Create an instance
WebWindowEvent(WebWindow webWindow, int type, Page oldPage, Page newPage)
          Create an instance
 

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.
 

Methods in com.gargoylesoftware.htmlunit.html that return Page
 Page ClickableElement.click()
          Simulate clicking this element.
 Page HtmlImage.click()
          Simulate clicking this element.
 Page HtmlImageInput.click()
          Submit the form that contains this input.
 Page HtmlLabel.click()
          Clicks the label and propagates to the referenced element.
 Page ClickableElement.click(boolean shiftKey, boolean ctrlKey, boolean altKey)
          Simulate clicking this element.
 Page ClickableElement.click(com.gargoylesoftware.htmlunit.javascript.host.Event event)
          INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Simulate clicking this element.
 Page HtmlInput.click(int x, int y)
          Simulate clicking this input with a pointing device.
 Page HtmlImage.click(int x, int y)
          Simulate clicking this element at the given position.
 Page HtmlImageInput.click(int x, int y)
          Simulate clicking this input with a pointing device.
 Page ClickableElement.dblClick()
          Simulate double clicking this element, note that ClickableElement.click() is called first.
 Page ClickableElement.dblClick(boolean shiftKey, boolean ctrlKey, boolean altKey)
          Simulate double clicking this element, note that ClickableElement.click(boolean, boolean, boolean) is called first.
protected  Page ClickableElement.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 wasn't false.
protected  Page HtmlOption.doClickAction(Page defaultPage)
          Selects the option if it's not already selected.
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 HtmlRadioButtonInput.doClickAction(Page defaultPage)
          Override of default clickAction that makes this radio button the selected one when it is clicked
protected  Page HtmlButton.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 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 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 HtmlArea.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 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 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 HtmlAnchor.doClickAction(Page defaultPage, 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()
          Return the currently loaded page in the enclosed window.
 Page DomNode.getNativePage()
          INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns the Page interface, should be removed, and use DomNode.getPage() instead.
 Page HtmlElement.mouseDown()
          Simulate clicking the mouse in this element.
 Page HtmlElement.mouseDown(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)
          Simulate clicking the mouse in this element.
 Page HtmlElement.mouseMove()
          Simulate moving the mouse inside this element.
 Page HtmlElement.mouseMove(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)
          Simulate moving the mouse inside this element.
 Page HtmlElement.mouseOut()
          Simulate moving the mouse out of this element.
 Page HtmlElement.mouseOut(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)
          Simulate moving the mouse out of this element.
 Page HtmlElement.mouseOver()
          Simulate moving the mouse over this element.
 Page HtmlElement.mouseOver(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)
          Simulate moving the mouse over this element.
 Page HtmlElement.mouseUp()
          Simulate releasing the mouse click in this element.
 Page HtmlElement.mouseUp(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)
          Simulate releasing the mouse click in this element.
 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 HtmlForm.reset()
          Reset this form to its initial values.
 Page HtmlElement.rightClick()
          Simulate right clicking the mouse in this element.
 Page HtmlElement.rightClick(boolean shiftKey, boolean ctrlKey, boolean altKey)
          Simulate right clicking the mouse in this element.
 Page HtmlRadioButtonInput.setChecked(boolean isChecked)
          Set the "checked" attribute
 Page HtmlInput.setChecked(boolean isChecked)
          Set the "checked" attribute
 Page HtmlCheckBoxInput.setChecked(boolean isChecked)
          Set the "checked" attribute
 Page HtmlOption.setSelected(boolean selected)
          Set the selected state of this option.
 Page HtmlSelect.setSelectedAttribute(HtmlOption selectedOption, boolean isSelected)
          Set the "selected" state of the specified option.
 Page HtmlSelect.setSelectedAttribute(String optionValue, boolean isSelected)
          Set the "selected" state of the specified option.
 Page HtmlInput.setValueAttribute(String newValue)
          Set the content of the "value" attribute, executing onchange handlers if appropriate.
 Page HtmlForm.submit()
          Deprecated. after 1.11, click on a specific SubmittableElement instead.
 Page HtmlForm.submit(String buttonName)
          Deprecated. after 1.11, click on the specific SubmittableElement instead.
 Page HtmlForm.submit(SubmittableElement submitElement)
          INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Submit this form to the appropriate server.
 Page HtmlElement.type(char c)
          Simulates typing the specified character while this element has focus.
 Page HtmlElement.type(char c, boolean shiftKey, boolean ctrlKey, boolean altKey)
          Simulates typing the specified character while this element has focus.
 Page HtmlTextArea.type(char c, boolean shiftKey, boolean ctrlKey, boolean altKey)
          Simulates typing the specified character while this element has focus.
 Page HtmlTextInput.type(char c, boolean shiftKey, boolean ctrlKey, boolean altKey)
          Simulates typing the specified character while this element has focus.
 

Methods in com.gargoylesoftware.htmlunit.html with parameters of type Page
protected  Page ClickableElement.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 wasn't false.
protected  Page HtmlOption.doClickAction(Page defaultPage)
          Selects the option if it's not already selected.
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 HtmlRadioButtonInput.doClickAction(Page defaultPage)
          Override of default clickAction that makes this radio button the selected one when it is clicked
protected  Page HtmlButton.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 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 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 HtmlArea.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 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 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 HtmlAnchor.doClickAction(Page defaultPage, 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.
 

Constructors in com.gargoylesoftware.htmlunit.html with parameters of type Page
DomCData(Page page, String data)
          Create an instance of DomText
DomCharacterData(Page page, String data)
          Create an instance of DomCharacterData
DomComment(Page page, String data)
          Create an instance of DomComment
DomDocumentFragment(Page page)
          Creates an instance.
DomElement(String namespaceURI, String qualifiedName, Page page)
          Create an instance of a DOM element that can have a namespace.
DomNamespaceNode(String namespaceURI, String qualifiedName, Page page)
          Create an instance of a DOM node that can have a namespace.
DomNode(Page page)
          Creates an instance.
DomText(Page page, String data)
          Create an instance of DomText
 

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".
 

Methods in com.gargoylesoftware.htmlunit.xml with parameters of type Page
static void XmlUtil.appendChild(Page page, DomNode parent, Node child)
          Recursively appends a Node child to DomNode parent.
 

Constructors in com.gargoylesoftware.htmlunit.xml with parameters of type Page
XmlAttr(Page page, String namespaceURI, String qualifiedName, String value)
          Instantiate a new attribute.
XmlElement(String namespaceURI, String qualifiedName, Page page, Map attributes)
          Create an instance of a DOM node that can have a namespace.
 



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