| 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> |
HtmlOption.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. |
<P extends Page> |
HtmlImageInput.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. |
<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. |
protected ScriptResult |
HtmlRadioButtonInput.doClickFireClickEvent(Event event)
This method implements the control onclick handler call during the click action.
|
protected ScriptResult |
HtmlElement.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.
|
ScriptResult |
HtmlElement.fireEvent(Event event)
Fires the event on the element.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BeforeUnloadEvent
JavaScript object representing the BeforeUnloadEvent.
|
class |
HashChangeEvent
JavaScript object representing the HashChangeEvent.
|
class |
KeyboardEvent
JavaScript object representing a Keyboard Event.
|
class |
MessageEvent
A JavaScript object for MessageEvent.
|
class |
MouseEvent
JavaScript object representing a Mouse Event.
|
class |
MutationEvent
JavaScript object representing a Mutation Event.
|
class |
PointerEvent
JavaScript object representing the PointerEvent.
|
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 |
|---|---|
boolean |
Window.dispatchEvent(Event event)
Dispatches an event into the event system (standards-conformant browsers only).
|
ScriptResult |
EventListenersContainer.executeBubblingListeners(Event event,
Object[] args,
Object[] propHandlerArgs)
Executes bubbling listeners.
|
ScriptResult |
EventListenersContainer.executeCapturingListeners(Event event,
Object[] args)
Executes capturing listeners.
|
ScriptResult |
Window.executeEvent(Event event)
Executes the event on this object only (needed for instance for onload on (i)frame tags).
|
ScriptResult |
Node.executeEvent(Event event)
Executes the event on this object only (needed for instance for onload on (i)frame tags).
|
protected ScriptResult |
Window.executeEvent(Event event,
EventListenersContainer eventListenersContainer)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Executes the event on this window only. |
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.
|
static ScriptResult |
Node.fireEvent(SimpleScriptable scriptable,
Event event)
Fires the event on the node with capturing and bubbling phase.
|
boolean |
EventNode.fireEvent(String type,
Event event)
Fires a specified event on this element (IE only).
|
| Modifier and Type | Method and Description |
|---|---|
Event |
HTMLDocument.createEvent(String eventType)
Implementation of the
DocumentEvent interface's
DocumentEvent method. |
Event |
HTMLDocument.createEventObject()
Implementation of the createEventObject method supported by Internet Explorer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
HTMLFormElement.dispatchEvent(Event event) |
boolean |
HTMLElement.dispatchEvent(Event event)
Dispatches an event into the event system (standards-conformant browsers only).
|
boolean |
HTMLDocument.dispatchEvent(Event event)
Dispatches an event into the event system (standards-conformant browsers only).
|
Copyright © 2002–2014 Gargoyle Software Inc.. All rights reserved.