Uses of Class
org.htmlunit.javascript.host.event.Event
-
Packages that use Event Package Description org.htmlunit.html Classes specific to HTML pages, particularly theHtmlPage
which represents an HTML document and provides access to its content.org.htmlunit.javascript.host Implementations of the various JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.animations Implementations of the JavaScript host objects for the Web Animations API - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.dom Implementations of the DOM JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.event Implementations of the JavaScript host objects for events - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.html Implementations of the HTML JavaScript host objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.media Implementations of the JavaScript host media objects - users of HtmlUnit shouldn't need anything in this package.org.htmlunit.javascript.host.speech Implementations of the Web Speech JavaScript host objects - users of HtmlUnit shouldn't need anything in this package. -
-
Uses of Event in org.htmlunit.html
Methods in org.htmlunit.html with parameters of type Event Modifier and Type Method Description <P extends Page>
PDomElement. click(Event event, boolean shiftKey, boolean ctrlKey, boolean altKey, boolean ignoreVisibility)
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>
PHtmlAnchor. click(Event event, boolean shiftKey, boolean ctrlKey, boolean altKey, boolean ignoreVisibility)
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>
PHtmlImageInput. click(Event event, boolean shiftKey, boolean ctrlKey, boolean altKey, boolean ignoreVisibility)
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>
PHtmlLabel. click(Event event, boolean shiftKey, boolean ctrlKey, boolean altKey, boolean ignoreVisibility)
Clicks the label and propagates to the referenced element.protected ScriptResult
DomElement. doClickFireClickEvent(Event event)
This method implements the control onclick handler call during the click action.ScriptResult
DomElement. fireEvent(Event event)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Fires the event on the element.ScriptResult
HtmlImage. fireEvent(Event event)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Fires the event on the element.boolean
DomNode. handles(Event event)
Indicates if the provided event can be applied to this node.boolean
HtmlAnchor. handles(Event event)
Indicates if the provided event can be applied to this node.boolean
HtmlArea. handles(Event event)
Indicates if the provided event can be applied to this node.boolean
HtmlBody. handles(Event event)
Indicates if the provided event can be applied to this node.boolean
HtmlButton. handles(Event event)
Indicates if the provided event can be applied to this node.boolean
HtmlElement. handles(Event event)
Indicates if the provided event can be applied to this node.boolean
HtmlInput. handles(Event event)
Indicates if the provided event can be applied to this node.boolean
HtmlOption. handles(Event event)
Indicates if the provided event can be applied to this node.boolean
HtmlPage. handles(Event event)
Indicates if the provided event can be applied to this node.boolean
HtmlSelect. handles(Event event)
Indicates if the provided event can be applied to this node.boolean
HtmlTextArea. handles(Event event)
Indicates if the provided event can be applied to this node.private boolean
HtmlPage. isOnbeforeunloadAccepted(HtmlPage page, Event event)
-
Uses of Event in org.htmlunit.javascript.host
Fields in org.htmlunit.javascript.host declared as Event Modifier and Type Field Description private Event
Window. currentEvent_
Methods in org.htmlunit.javascript.host that return Event Modifier and Type Method Description Event
Window. getCurrentEvent()
Returns the current event (used internally regardless of the emulation mode).Methods in org.htmlunit.javascript.host with parameters of type Event Modifier and Type Method Description boolean
Window. dispatchEvent(Event event)
Dispatches an event into the event system (standards-conformant browsers only).(package private) void
WebSocket. fire(Event evt)
void
Window. setCurrentEvent(Event event)
Sets the current event. -
Uses of Event in org.htmlunit.javascript.host.animations
Subclasses of Event in org.htmlunit.javascript.host.animations Modifier and Type Class Description class
AnimationEvent
A JavaScript object forAnimationEvent
. -
Uses of Event in org.htmlunit.javascript.host.dom
Fields in org.htmlunit.javascript.host.dom with type parameters of type Event Modifier and Type Field Description private static java.util.Map<java.lang.String,java.lang.Class<? extends Event>>
Document. SUPPORTED_DOM2_EVENT_TYPE_MAP
Contains all supported DOM level 2 events.private static java.util.Map<java.lang.String,java.lang.Class<? extends Event>>
Document. SUPPORTED_DOM3_EVENT_TYPE_MAP
Contains all supported DOM level 3 events.private static java.util.Map<java.lang.String,java.lang.Class<? extends Event>>
Document. SUPPORTED_VENDOR_EVENT_TYPE_MAP
Contains all supported vendor specific events.Methods in org.htmlunit.javascript.host.dom that return Event Modifier and Type Method Description Event
Document. createEvent(java.lang.String eventType)
Implementation of theDocumentEvent
interface'sDocumentEvent.createEvent(String)
method. -
Uses of Event in org.htmlunit.javascript.host.event
Subclasses of Event in org.htmlunit.javascript.host.event Modifier and Type Class Description class
AudioProcessingEvent
A JavaScript object forAudioProcessingEvent
.class
BeforeInstallPromptEvent
A JavaScript object forBeforeInstallPromptEvent
.class
BeforeUnloadEvent
JavaScript object representing the BeforeUnloadEvent.class
BlobEvent
A JavaScript object forBlobEvent
.class
ClipboardEvent
A JavaScript object forClipboardEvent
.class
CloseEvent
A JavaScript object forCloseEvent
.class
CompositionEvent
A JavaScript object forCompositionEvent
.class
CustomEvent
A JavaScript object forCustomEvent
.class
DeviceMotionEvent
A JavaScript object forDeviceMotionEvent
.class
DeviceOrientationEvent
A JavaScript object forDeviceOrientationEvent
.class
DragEvent
A JavaScript object forDragEvent
.class
ErrorEvent
A JavaScript object forErrorEvent
.class
FocusEvent
A JavaScript object forFocusEvent
.class
GamepadEvent
A JavaScript object forGamepadEvent
.class
HashChangeEvent
JavaScript object representing the HashChangeEvent.class
IDBVersionChangeEvent
A JavaScript object forIDBVersionChangeEvent
.class
InputEvent
A JavaScript object forInputEvent
.class
KeyboardEvent
JavaScript object representing a Keyboard Event.class
MediaEncryptedEvent
A JavaScript object forMediaEncryptedEvent
.class
MediaKeyMessageEvent
A JavaScript object forMediaKeyMessageEvent
.class
MediaQueryListEvent
A JavaScript object forMediaQueryListEvent
.class
MediaStreamEvent
A JavaScript object forMediaStreamEvent
.class
MediaStreamTrackEvent
A JavaScript object forMediaStreamTrackEvent
.class
MessageEvent
A JavaScript object forMessageEvent
.class
MIDIConnectionEvent
A JavaScript object forMIDIConnectionEvent
.class
MIDIMessageEvent
A JavaScript object forMIDIMessageEvent
.class
MouseEvent
JavaScript object representing a Mouse Event.class
MouseScrollEvent
A JavaScript object forMouseScrollEvent
.class
MutationEvent
JavaScript object representing a Mutation Event.class
OfflineAudioCompletionEvent
A JavaScript object forOfflineAudioCompletionEvent
.class
PageTransitionEvent
A JavaScript object forPageTransitionEvent
.class
PointerEvent
JavaScript object representing aPointerEvent
.class
PopStateEvent
A JavaScript object forPopStateEvent
.class
PresentationConnectionAvailableEvent
A JavaScript object forPresentationConnectionAvailableEvent
.class
PresentationConnectionCloseEvent
A JavaScript object forPresentationConnectionCloseEvent
.class
ProgressEvent
A JavaScript object forProgressEvent
.class
PromiseRejectionEvent
A JavaScript object forPromiseRejectionEvent
.class
RTCDataChannelEvent
A JavaScript object forRTCDataChannelEvent
.class
RTCPeerConnectionIceEvent
A JavaScript object forRTCPeerConnectionIceEvent
.class
SecurityPolicyViolationEvent
A JavaScript object forSecurityPolicyViolationEvent
.class
SpeechSynthesisEvent
A JavaScript object forSpeechSynthesisEvent
.class
StorageEvent
A JavaScript object forStorageEvent
.class
SubmitEvent
A JavaScript object forSubmitEvent
.class
TextEvent
A JavaScript object forTextEvent
.class
TimeEvent
A JavaScript object forTimeEvent
.class
TouchEvent
A JavaScript object forTouchEvent
.class
TrackEvent
A JavaScript object forTrackEvent
.class
TransitionEvent
A JavaScript object forTransitionEvent
.class
UIEvent
JavaScript object representing a UI event.class
WebGLContextEvent
A JavaScript object forWebGLContextEvent
.class
WebkitSpeechRecognitionError
A JavaScript object forwebkitSpeechRecognitionError
.class
WebkitSpeechRecognitionEvent
A JavaScript object forwebkitSpeechRecognitionEvent
.class
WheelEvent
A JavaScript object forWheelEvent
.Methods in org.htmlunit.javascript.host.event that return Event Modifier and Type Method Description static Event
Event. createPropertyChangeEvent(DomNode domNode, java.lang.String propertyName)
Creates a new Event withTYPE_PROPERTY_CHANGE
type.Methods in org.htmlunit.javascript.host.event with parameters of type Event Modifier and Type Method Description boolean
EventTarget. dispatchEvent(Event event)
Dispatches an event into the event system (standards-conformant browsers only).void
EventListenersContainer. executeAtTargetListeners(Event event, java.lang.Object[] args)
Executes listeners for events targeting the node.void
EventListenersContainer. executeBubblingListeners(Event event, java.lang.Object[] args)
Executes bubbling listeners.void
EventListenersContainer. executeCapturingListeners(Event event, java.lang.Object[] args)
Executes capturing listeners.private void
EventListenersContainer. executeEventListeners(int eventPhase, Event event, java.lang.Object[] args)
void
EventTarget. executeEventLocally(Event event)
Executes the event on this object only (needed for instance for onload on (i)frame tags).ScriptResult
EventTarget. fireEvent(Event event)
Fires the event on the node with capturing and bubbling phase. -
Uses of Event in org.htmlunit.javascript.host.html
Methods in org.htmlunit.javascript.host.html with parameters of type Event Modifier and Type Method Description boolean
HTMLDocument. dispatchEvent(Event event)
Dispatches an event into the event system (standards-conformant browsers only).boolean
HTMLFormElement. dispatchEvent(Event event)
void
HTMLIFrameElement. executeEventLocally(Event event)
Executes the event on this object only (needed for instance for onload on (i)frame tags). -
Uses of Event in org.htmlunit.javascript.host.media
Subclasses of Event in org.htmlunit.javascript.host.media Modifier and Type Class Description class
MediaKeyError
A JavaScript object forMediaKeyError
. -
Uses of Event in org.htmlunit.javascript.host.speech
Subclasses of Event in org.htmlunit.javascript.host.speech Modifier and Type Class Description class
SpeechSynthesisErrorEvent
A JavaScript object forSpeechSynthesisErrorEvent
.
-