|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--EventObj
Defined in obj-events.js
Version: 1.0
Author: mpollack
Field Summary | |
array |
comactiveEventObj
Array of events to fire on comactive |
array |
coursereadyEventObj
Array of events to fire on courseready |
boolean |
eventprop
event variable that is as a watchpoint |
array |
globaltoolsreadyEventObj
Array of events to fire on globaltools |
array |
glossaryreadyEventObj
Array of events to fire on glossary |
array |
pagereadyEventObj
Array of events to fire on pageready |
array |
themereadyEventObj
Array of events to fire on themeready |
array |
toggleEventObj
Array of events to fire on toggle |
Constructor Summary | |
EventObj()
Holds all event object references and controllers |
Method Summary | |
void
|
addEvent(<string> t,<method> e,<string> i)
Adds event to an event array based on type. |
boolean
|
eventWatcher(<string> prop, <string> oldval, <string> newval)
Watches eventprop for change. |
void
|
ieCheck()
Processes watch hack for IE and if change is found calls eventWatcher. |
void
|
ieWatch()
Starts watch hack for IE |
void
|
removeEvent(<string> t,<string> i)
Removes an event from an event array based on type and ID. |
Field Detail |
array comactiveEventObj
array coursereadyEventObj
boolean eventprop
array globaltoolsreadyEventObj
array glossaryreadyEventObj
array pagereadyEventObj
array themereadyEventObj
array toggleEventObj
Constructor Detail |
EventObj()
Method Detail |
void addEvent(<string> t,<method> e,<string> i)
t
- Event type
e
- Event to execute
i
- Event identifier
boolean eventWatcher(<string> prop, <string> oldval, <string> newval)
prop
- Event type
oldval
- Event identifier
newval
- Event identifier
void ieCheck()
void ieWatch()
void removeEvent(<string> t,<string> i)
t
- Event type
i
- Event identifier
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |