public interface DOMWindow extends DOMEventTarget
Modifier and Type | Method and Description |
---|---|
void |
close() |
WebBrowser |
getBrowser()
Return the instance of the browser associated to this window
|
String |
getContentAsString() |
Dimension |
getDimension() |
DOMDocument |
getDocument()
Returns the current document node (that can be stale though @see
getDocument(boolean) |
DOMDocument |
getDocument(boolean checkIfStale)
Returns the document.
|
String |
getName() |
StyledOverlayBuilder |
getOverlayBuilder() |
int |
getScrollX()
Accessor for the current x scroll position in this window in pixels.
|
int |
getScrollY()
Accessor for the current y scroll position in this window in pixels.
|
String |
getTitle() |
boolean |
isJustOpened()
Returns true is the current page is opened in a new fresh window, and not just loaded in the previous window on
which an action was performed.
|
void |
setName(String name) |
addEventListener, removeEventListener
DOMDocument getDocument()
getDocument(boolean)
DOMDocument getDocument(boolean checkIfStale)
checkIfStale
- String getName()
void setName(String name)
void close()
WebBrowser getBrowser()
int getScrollX()
int getScrollY()
boolean isJustOpened()
StyledOverlayBuilder getOverlayBuilder()
String getTitle()
String getContentAsString()
Dimension getDimension()
Copyright © 2020 OXPath Team. All rights reserved.