Package | Description |
---|---|
org.htmlunit |
Framework classes (contains the
WebClient
class which is the main entry point). |
org.htmlunit.html |
Classes specific to HTML pages, particularly the
HtmlPage which represents
an HTML document and provides access to its content. |
org.htmlunit.javascript.host.event |
Implementations of the JavaScript host objects for events - users of HtmlUnit shouldn't
need anything in this package.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ScriptResult.isFalse(ScriptResult scriptResult)
Utility method testing if a script result is
false . |
static boolean |
ScriptResult.isUndefined(ScriptResult scriptResult)
Utility method testing if a script result is undefined (there was no return value).
|
Modifier and Type | Method and Description |
---|---|
protected ScriptResult |
DomElement.doClickFireClickEvent(Event event)
This method implements the control onclick handler call during the click action.
|
ScriptResult |
HtmlPage.executeJavaScript(String sourceCode)
Executes the specified JavaScript code within the page.
|
ScriptResult |
HtmlPage.executeJavaScript(String sourceCode,
String sourceName,
int startLine)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
ScriptResult |
HtmlPage.executeJavaScriptFunction(Object function,
Object thisObject,
Object[] args,
DomNode htmlElementScope)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
ScriptResult |
HtmlImage.fireEvent(Event event)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
ScriptResult |
DomElement.fireEvent(Event event)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
ScriptResult |
DomElement.fireEvent(String eventType)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
|
Modifier and Type | Method and Description |
---|---|
ScriptResult |
EventTarget.fireEvent(Event event)
Fires the event on the node with capturing and bubbling phase.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Event.isAborted(ScriptResult result)
Returns
true if this event has been aborted via preventDefault() in
standards-compliant browsers. |
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.