| Package | Description |
|---|---|
| com.gargoylesoftware.htmlunit |
Framework classes (contains the
WebClient
class which is the main entry point). |
| 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.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.
|
protected ScriptResult |
HtmlCheckBoxInput.doClickFireClickEvent(Event event)
This method implements the control onclick handler call during the click action.
|
protected ScriptResult |
HtmlRadioButtonInput.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 |
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, or via the event's returnValue property in IE, or
by the event handler returning false. |
Copyright © 2002–2020 Gargoyle Software Inc.. All rights reserved.