Class ZmEvent
Class Detail
ZmEvent(type)
Creates an empty event of the given type.
Field Detail
<static>
ZmEvent.E_COMPLETE
Defines the "complete" event type.
<static>
ZmEvent.E_CREATE
Defines the "create" event type.
<static>
ZmEvent.E_DELETE
Defines the "delete" event type.
<static>
ZmEvent.E_FLAGS
Defines the "flags" event type.
<static>
ZmEvent.E_LOAD
Defines the "load" event type.
<static>
ZmEvent.E_MODIFY
Defines the "modify" event type.
<static>
ZmEvent.E_MOVE
Defines the "move" event type.
<static>
ZmEvent.E_REMOVE
Defines the "remove" event type.
<static>
ZmEvent.E_REMOVE_ALL
Defines the "remove all" event type.
<static>
ZmEvent.E_TAGS
Defines the "tags" event type.
<static>
ZmEvent.E_ZIMLETS
Defines the "zimlets" event type.
Method Detail
{Object}
getDetail(field)
Gets info from the event details.
{Hash}
getDetails()
Gets the event details.
{Array}
getItems()
Gets items by checking for a detail with a name of "items" and returning it.
set(event, source)
Sets the event type and source.
setDetail(field, value)
Adds info to the event details.
setDetails(details)
Sets the event details. Any existing details will be lost.
{String}
toString()
Returns a string representation of the object.
|
||||||||||||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:37 GMT-0400 (EDT)
|