Uses of Interface
org.htmlunit.WebWindow
-
Packages that use WebWindow Package Description org.htmlunit Framework classes (contains theWebClientclass which is the main entry point).org.htmlunit.html Classes specific to HTML pages, particularly theHtmlPagewhich represents an HTML document and provides access to its content.org.htmlunit.xml Classes specific to XML pages. -
-
Uses of WebWindow in org.htmlunit
Classes in org.htmlunit that implement WebWindow Modifier and Type Class Description classDialogWindowA window opened in JavaScript via eitherwindow.showModalDialogorwindow.showModelessDialog.classTopLevelWindowA window representing a top level browser window.classWebWindowImplINTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Base class for common WebWindow functionality.Methods in org.htmlunit that return WebWindow Modifier and Type Method Description WebWindowWebClient. getCurrentWindow()Returns the "current" window for this client.WebWindowAbstractPage. getEnclosingWindow()Returns the window that this page is sitting inside.WebWindowPage. getEnclosingWindow()Returns the window that this page is sitting inside.WebWindowSgmlPage. getEnclosingWindow()Returns the window that this page is sitting inside.WebWindowTopLevelWindow. getOpener()Returns the opener property.WebWindowDialogWindow. getParentWindow()Returns the window that contains this window.WebWindowTopLevelWindow. getParentWindow()Returns the window that contains this window.WebWindowWebWindow. getParentWindow()Returns the window that contains this window.WebWindowDialogWindow. getTopWindow()Returns the top level window that contains this window.WebWindowTopLevelWindow. getTopWindow()Returns the top level window that contains this window.WebWindowWebWindow. getTopWindow()Returns the top level window that contains this window.WebWindowWebWindowEvent. getWebWindow()Returns the web window that fired the event.WebWindowWebClient. getWebWindowByName(java.lang.String name)Returns the firstWebWindowthat matches the specified name.WebWindowWebClient. openTargetWindow(WebWindow opener, java.lang.String windowName, java.lang.String defaultName)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Open the window with the specified name.WebWindowWebClient. openWindow(java.net.URL url, java.lang.String windowName)Open a new window with the specified name.WebWindowWebClient. openWindow(java.net.URL url, java.lang.String windowName, WebWindow opener)Open a new window with the specified name.Methods in org.htmlunit that return types with arguments of type WebWindow Modifier and Type Method Description java.util.List<WebWindow>WebClient. getWebWindows()Returns an immutable list of open web windows (whether they are top level windows or not).Methods in org.htmlunit with parameters of type WebWindow Modifier and Type Method Description booleanWebClient. containsWebWindow(WebWindow webWindow)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Returns true if the list of WebWindows contains the provided one.protected HtmlPageDefaultPageCreator. createHtmlPage(WebResponse webResponse, WebWindow webWindow)Creates an HtmlPage for this WebResponse.PageDefaultPageCreator. createPage(WebResponse webResponse, WebWindow webWindow)Create a Page object for the specified web response.PagePageCreator. createPage(WebResponse webResponse, WebWindow webWindow)Create a Page object for the specified web response.protected TextPageDefaultPageCreator. createTextPage(WebResponse webResponse, WebWindow webWindow)Creates a TextPage for this WebResponse.protected UnexpectedPageDefaultPageCreator. createUnexpectedPage(WebResponse webResponse, WebWindow webWindow)Creates an UnexpectedPage for this WebResponse.protected XHtmlPageDefaultPageCreator. createXHtmlPage(WebResponse webResponse, WebWindow webWindow)Creates an XHtmlPage for this WebResponse.protected SgmlPageDefaultPageCreator. createXmlPage(WebResponse webResponse, WebWindow webWindow)Creates an SgmlPage for this WebResponse.voidWebClient. deregisterWebWindow(WebWindow webWindow)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Removes a window from the list of available windows.voidWebClient. download(WebWindow requestingWindow, java.lang.String target, WebRequest request, boolean checkHash, boolean forceLoad, boolean forceAttachment, java.lang.String description)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Perform the downloads and stores it for loading later into a window.<P extends Page>
PWebClient. getPage(WebWindow webWindow, WebRequest webRequest)Send a request to a server and return a Page that represents the response from the server.voidWebClient. initialize(WebWindow webWindow, Page page)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Initializes a new web window for JavaScript.voidWebClient. initializeEmptyWindow(WebWindow webWindow, Page page)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Initializes a new empty window for JavaScript.PageWebClient. loadWebResponseInto(WebResponse webResponse, WebWindow webWindow)Creates a page based on the specified response and inserts it into the specified window.PageWebClient. loadWebResponseInto(WebResponse webResponse, WebWindow webWindow, boolean forceAttachment)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.DialogWindowWebClient. openDialogWindow(java.net.URL url, WebWindow opener, java.lang.Object dialogArguments)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.WebWindowWebClient. openTargetWindow(WebWindow opener, java.lang.String windowName, java.lang.String defaultName)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Open the window with the specified name.WebWindowWebClient. openWindow(java.net.URL url, java.lang.String windowName, WebWindow opener)Open a new window with the specified name.voidWebClient. registerWebWindow(WebWindow webWindow)INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Adds a new window to the list of available windows.voidWebClient. setCurrentWindow(WebWindow window)Sets the "current" window for this client.voidSgmlPage. setEnclosingWindow(WebWindow window)Sets the window that contains this page.voidTopLevelWindow. setOpener(WebWindow opener)Sets the opener property.Constructors in org.htmlunit with parameters of type WebWindow Constructor Description AbstractPage(WebResponse webResponse, WebWindow enclosingWindow)Creates an instance.History(WebWindow window)Creates a new navigation history for the specified window.SgmlPage(WebResponse webResponse, WebWindow webWindow)Creates an instance of SgmlPage.TextPage(WebResponse webResponse, WebWindow enclosingWindow)Creates an instance.UnexpectedPage(WebResponse webResponse, WebWindow enclosingWindow)Creates an instance.WebWindowEvent(WebWindow webWindow, int type, Page oldPage, Page newPage)Creates an instance. -
Uses of WebWindow in org.htmlunit.html
Classes in org.htmlunit.html that implement WebWindow Modifier and Type Class Description classFrameWindowThe web window for a frame or iframe.Methods in org.htmlunit.html that return WebWindow Modifier and Type Method Description WebWindowFrameWindow. getParentWindow()Returns the window that contains this window.WebWindowFrameWindow. getTopWindow()Returns the top level window that contains this window.Constructors in org.htmlunit.html with parameters of type WebWindow Constructor Description HtmlPage(WebResponse webResponse, WebWindow webWindow)Creates an instance of HtmlPage.XHtmlPage(WebResponse webResponse, WebWindow webWindow)Creates a new XHTML page instance. -
Uses of WebWindow in org.htmlunit.xml
Constructors in org.htmlunit.xml with parameters of type WebWindow Constructor Description XmlPage(WebResponse webResponse, WebWindow enclosingWindow)Creates an instance.XmlPage(WebResponse webResponse, WebWindow enclosingWindow, boolean ignoreSAXException)Creates an instance.XmlPage(WebResponse webResponse, WebWindow enclosingWindow, boolean ignoreSAXException, boolean handleXHTMLAsHTML)Creates an instance.XmlPage(org.w3c.dom.Node node, WebWindow enclosingWindow)Creates an instance.
-