Class mozile.event

Object
   |
   +--mozile.Module
         |
         +--mozile.event

class mozile.event
extends mozile.Module

Field Summary
<static>  Boolean mousedown
          Indicates that a mouse button is being held down.
   
Method Summary
<static> Void addListener(<Element> element, <String> type, <Function> listener, <Boolean> useCapture)
           Adds an event listener to a node.
<static> Void cancel(<Event> event)
           Cancels an event.
<static> Boolean cancelKeyEvent(<Event> event)
           Cancels certain keyboard events before the browser handles them.
<static> Void dispatch(<Element> element, <String> type, keyCode, charCode, ctrlKey, altKey, shiftKey, metaKey)
           INCOMPLETE.
<static> Boolean findTarget(<Event> event)
           Finds the target of an event.
<static> Void fixFocus(<Event> event)
           Makes sure the editable area is focussed.
<static> Boolean handle(<Event> event)
           General event handler, which calls specific event handlers for the document and for the target nodes of the event.
<static> Boolean handled(<Event> event, state)
           Finish handling an event, eieht by cancelling it or not.
<static> Boolean handleHyperlink(<Event> event)
           Handles events which would lead Mozilla to follow a hyperlink while editing.
<static> Boolean handleMouseMove(<Event> event)
           Handles mouse move events.
<static> Void listen(doc)
           Set up a series of event listeners on this document.
<static> Object normalize(event)
           Changes some of IE's event properties to use standard names.
<static> Void removeListener(<Element> element, <String> type, <Function> listener, <Boolean> useCapture)
           Removes an event listener from a node.
<static> Void selectWord(<Node> node, <Integer> offset)
           Selects the word inside the given node which contains the given offset.
<static> Void storeSelection(<Event> event)
           Store the current selection so it can be restored.

Field Detail

mousedown

<static> Boolean mousedown


Method Detail

addListener

<static> Void addListener(<Element> element, <String> type, <Function> listener, <Boolean> useCapture)

cancel

<static> Void cancel(<Event> event)

cancelKeyEvent

<static> Boolean cancelKeyEvent(<Event> event)

dispatch

<static> Void dispatch(<Element> element, <String> type, keyCode, charCode, ctrlKey, altKey, shiftKey, metaKey)

findTarget

<static> Boolean findTarget(<Event> event)

fixFocus

<static> Void fixFocus(<Event> event)

handle

<static> Boolean handle(<Event> event)

handled

<static> Boolean handled(<Event> event, state)

handleHyperlink

<static> Boolean handleHyperlink(<Event> event)

handleMouseMove

<static> Boolean handleMouseMove(<Event> event)

listen

<static> Void listen(doc)

normalize

<static> Object normalize(event)

removeListener

<static> Void removeListener(<Element> element, <String> type, <Function> listener, <Boolean> useCapture)

selectWord

<static> Void selectWord(<Node> node, <Integer> offset)

storeSelection

<static> Void storeSelection(<Event> event)


Documentation generated by JSDoc on Wed Feb 20 13:25:28 2008