|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ScriptResult | |
---|---|
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 | Implementations of the various JavaScript host objects - users of HtmlUnit shouldn't need anything in this package. |
Uses of ScriptResult in com.gargoylesoftware.htmlunit |
---|
Methods in com.gargoylesoftware.htmlunit that return ScriptResult | |
---|---|
static ScriptResult |
ScriptResult.combine(ScriptResult newResult,
ScriptResult originalResult,
boolean ie)
Creates and returns a composite ScriptResult based on the two input ScriptResult s. |
Methods in com.gargoylesoftware.htmlunit with parameters of type ScriptResult | |
---|---|
static ScriptResult |
ScriptResult.combine(ScriptResult newResult,
ScriptResult originalResult,
boolean ie)
Creates and returns a composite ScriptResult based on the two input ScriptResult s. |
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). |
Uses of ScriptResult in com.gargoylesoftware.htmlunit.html |
---|
Methods in com.gargoylesoftware.htmlunit.html that return ScriptResult | |
---|---|
ScriptResult |
HtmlPage.executeJavaScript(String sourceCode)
Executes the specified JavaScript code within the page. |
ScriptResult |
HtmlPage.executeJavaScriptFunctionIfPossible(net.sourceforge.htmlunit.corejs.javascript.Function function,
net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObject,
Object[] args,
DomNode htmlElementScope)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Execute a Function in the given context. |
ScriptResult |
HtmlPage.executeJavaScriptIfPossible(String sourceCode,
String sourceName,
int startLine)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. |
ScriptResult |
HtmlElement.fireEvent(Event event)
Fires the event on the element. |
ScriptResult |
HtmlElement.fireEvent(String eventType)
Shortcut for HtmlElement.fireEvent(Event) . |
Uses of ScriptResult in com.gargoylesoftware.htmlunit.javascript.host |
---|
Methods in com.gargoylesoftware.htmlunit.javascript.host that return ScriptResult | |
---|---|
ScriptResult |
EventListenersContainer.executeBubblingListeners(Event event,
Object[] args,
Object[] propHandlerArgs)
Executes bubbling listeners. |
ScriptResult |
EventListenersContainer.executeCapturingListeners(Event event,
Object[] args)
Executes capturing listeners. |
ScriptResult |
Node.executeEvent(Event event)
Executes the event on this object only (needed for instance for onload on (i)frame tags). |
ScriptResult |
EventListenersContainer.executeListeners(Event event,
Object[] args,
Object[] propHandlerArgs)
Executes listeners. |
ScriptResult |
Node.fireEvent(Event event)
Fires the event on the node with capturing and bubbling phase. |
Methods in com.gargoylesoftware.htmlunit.javascript.host with parameters of type ScriptResult | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |