Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class draw2d.Event

    Object
       |
       +--draw2d.Event

class draw2d.Event

Defined in events.js

Constructor Summary
`draw2d.Event ()`

Method Summary
`void` | `initEvent(sType , bCancelable )` Initializes the event object with information for the event.
`void` | `preventDefault()` Prevents the default behavior for an event.
`<static> void` | `fireDOMEvent(eventType, element)` Static function.

Constructor Detail

### draw2d.Event

    draw2d.Event()

Method Detail

### initEvent

    void initEvent(sType , bCancelable )

Initializes the event object with information for the event.

Parameters:

`sType` - The type of event encapsulated by the object.

`bCancelable` - True if the event can be cancelled.

### preventDefault

    void preventDefault()

Prevents the default behavior for an event.

### fireDOMEvent

    <static> void fireDOMEvent(eventType, element)

Static function. Don't use 'prototype'.

Overview | File | Class | Tree | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008