Document Information

Last modified:
2011/02/22 12:31 (external edit)

This is documentation for qooxdoo 1.0.x only. You might be interested in consulting the latest docs.

The Event Layer

The class qx.event.Manager provides a per-document wrapper for cross-browser DOM event handling. The implementation of the event layer is inside the qx.event namespace.

The following features work in all supported browsers:

  • Canceling events: stopPropagation()
  • Skipping the browser's default behavior: preventDefault()
  • Unified event objects matching the W3C DOM 2 event interface
  • Cross-browser event bubbling and capturing phase, even in Internet Explorer
  • Port of the unified qooxdoo 0.7 key event handler to the 1.0 low-level layer. For a full list of available key identifiers see the getKeyIdentifier() method documentation of the qx.event.type.KeySequence class.
  • Unified mouse events
    • Normalized double click event sequence mousedownmouseupclickmousedownmouseupclickdoubleclick) in Internet Explorer
    • Normalized right click sequence mousedownmouseupcontextmenu in Safari 3 and Opera.
    • Always fire click events if the mouseup happens on a different target than the corresponding mousedown event. Natively only Internet Explorer behaves like that.

UML Class Diagram

:documentation:general:eventhandler.jpg

Information

Last modified:
2011/02/22 12:31 (external edit)

Account

 
 
A book on qooxdoo RIAs, authored  by community members
JS Tutorial, JavaScript Tutorial, JavaScript Guide, Learn JavaScript JS, How To Learn JS, Learning JavaScript
 

Bad Behavior has blocked 0 potential spam attempts in the last 7 days.