Package | Description |
---|---|
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.
|
com.gargoylesoftware.htmlunit.javascript.host.html |
Implementations of the HTML JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
|
Modifier and Type | Method and Description |
---|---|
<P extends Page> |
HtmlElement.click(Event event)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Simulates clicking on this element, returning the page in the window that has the focus after the element has been clicked. |
ScriptResult |
HtmlElement.fireEvent(Event event)
Fires the event on the element.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyboardEvent
JavaScript object representing a Keyboard Event.
|
class |
MouseEvent
JavaScript object representing a Mouse Event.
|
class |
MutationEvent
JavaScript object representing a Mutation Event.
|
class |
UIEvent
JavaScript object representing a UI event.
|
Modifier and Type | Method and Description |
---|---|
static Event |
Event.createPropertyChangeEvent(DomNode domNode,
String propertyName)
Creates a new Event with
TYPE_PROPERTY_CHANGE type. |
Event |
Window.getCurrentEvent()
Returns the current event (used internally regardless of the emulation mode).
|
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
EventNode.jsxFunction_fireEvent(String type,
Event event)
Fires a specified event on this element (IE only).
|
Modifier and Type | Method and Description |
---|---|
Event |
HTMLDocument.jsxFunction_createEvent(String eventType)
Implementation of the
DocumentEvent interface's
DocumentEvent method. |
Event |
HTMLDocument.jsxFunction_createEventObject()
Implementation of the createEventObject method supported by Internet Explorer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HTMLElement.jsxFunction_dispatchEvent(Event event)
Dispatches an event into the event system (standards-conformant browsers only).
|
boolean |
HTMLDocument.jsxFunction_dispatchEvent(Event event)
Dispatches an event into the event system (standards-conformant browsers only).
|
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.