All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.w3c.dom.events.package.html Maven / Gradle / Ivy

The newest version!


  

    <span class="http"><span class="sql">package.html</span></span>
  

  

The org.w3c.dom.events package provides the Java ME DOM Events API subset
      defined by JSR 280.  The API is derived from the W3 DOM2 Events API 
      Java bindings source
      (http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/java-binding.zip), 
      and the DOM3 Events API Java bindings source
      (http://www.w3.org/TR/2006/WD-DOM-Level-3-Events-20060413/java-binding.zip).
      The initial version of the JSR 280 modifications was published in October
      2006. 


Complete list of supported event types

JSR 280 supports all event types defined by DOM level 3. The only exception are event types related to MutationNameEvent which are not supported.

The following table provides a summary of the event types that are required to be supported by the implementation. All events will accomplish the capture and target phases, but not all of them will accomplish the bubbling phase (see also DOM event flow). Some events are not cancelable (see Default actions and cancelable events). Some events will only be dispatched to a specific set of possible targets, specified using node types. Contextual information related to the event type is accessible using DOM interfaces.



typeBubbling phaseCancelableTarget node typesDOM interface
DOMActivateYesYesElementUIEvent
DOMFocusInYesNoElementUIEvent
DOMFocusOutYesNoElementUIEvent
focusNoNoElementUIEvent
blurNoNoElementUIEvent
textInputYesYesElementTextEvent
clickYesYesElementMouseEvent
mousedownYesYesElementMouseEvent
mouseupYesYesElementMouseEvent
mouseoverYesYesElementMouseEvent
mousemoveYesYesElementMouseEvent
mouseoutYesYesElementMouseEvent
keydownYesYesElementKeyboardEvent
keyupYesYesElementKeyboardEvent
DOMSubtreeModifiedYesNoDocument, DocumentFragment, Element, AttrMutationEvent
DOMNodeInsertedYesNoElement, Attr, Text, Comment, CDATASection, DocumentType, EntityReference, ProcessingInstructionMutationEvent
DOMNodeRemovedYesNoElement, Attr, Text, Comment, CDATASection, DocumentType, EntityReference, ProcessingInstructionMutationEvent
DOMNodeRemovedFromDocumentNoNoElement, Attr, Text, Comment, CDATASection, DocumentType, EntityReference, ProcessingInstructionMutationEvent
DOMNodeInsertedIntoDocumentNoNoElement, Attr, Text, Comment, CDATASection, DocumentType, EntityReference, ProcessingInstructionMutationEvent
DOMAttrModifiedYesNoElementMutationEvent
DOMCharacterDataModifiedYesNoText, Comment, CDATASection, ProcessingInstructionMutationEvent
loadNoNoDocument, ElementEvent
unloadNoNoDocument, ElementEvent
abortYesNoElementEvent
errorYesNoElementEvent
selectYesNoElementEvent
changeYesNoElementEvent
submitYesYesElementEvent
resetYesYesElementEvent
resizeYesNoDocument, ElementUIEvent
scrollYesNoDocument, ElementUIEvent
Extracted from the W3C DOM3 Events specification

The Progress Event 1.0 specification defines the following event types in addition:

typeBubbling phaseCancelableTarget node typesDOM interface
loadstartNoNoElementProgressEvent
progressNoNoElementProgressEvent
errorNoNoElementProgressEvent
abortNoNoElementProgressEvent
loadNoNoElementProgressEvent
Compiled from the W3C Progress Event 1.0 specification

Clarification: The purpose of listing the possible event targets here is to say that an implementation of only DOM Level 3 Events will not dispatch certain event types to certain event targets unless requested to by a DOM application. These listings are not meant to otherwise constrain implementations, applications, or specifications.

As an example, the event load will trigger event listeners attached on Element nodes for that event and on the capture and target phases. This event cannot be cancelled. If an event listener for the load event is attached to a node other than Document or Element nodes, or if it is attached to the bubbling phase only, this event listener cannot be triggered.

The event objects associated with the event types described above may contain context information. Refer to the description of the DOM interfaces for further information.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy