Package kernel

Class MacaoEvent

Constructor   Methods

The class MacaoEvent is used internally to send or post an event to one or more objects.

See also sendEvent(), postEvent() and broadcastEvent().

Constructor Summary
MacaoEvent(MacaoObject senderObject, String eventType, optional Array params)
     The class MacaoEvent is used internally, to send or post an event to one or more objects.

Method Summary
void broadcast(boolean toAllFrames)
     Call this method to send the event to all objects of the current frame or to all objects in all frames.
void disable()
     Use this method to cancel an event, which has been posted but has not yet been delivered.
Array getParams()
     Returns an array containing the parameters, which are used to call the target method.
MacaoObject getSenderObject()
     Returns the object, which sent or posted the event.
String getType()
     Returns the name of the method, which is to be called by the event.
void postTo(String recipientName, integer delay, optional String frameName)
     Call this method to send this event to a target object delaying the delivery.
variant sendTo(String recipientName, optional frameName)
     Call this method to send the event to a recipient object.

Constructor Details
MacaoEvent(MacaoObject senderObject, String eventType, optional Array params)

Method Details
void broadcast(boolean toAllFrames)

void disable()

Array getParams()

MacaoObject getSenderObject()

String getType()

void postTo(String recipientName, integer delay, optional String frameName)

variant sendTo(String recipientName, optional frameName)