Base class for all events.
mxEventObject | Base class for all events. |
Variables | |
name | Holds the name of the event. |
properties | Holds the event properties in an associative array that maps from string (key) to object (value). |
consumed | Holds the consumed state of the event. |
Functions | |
mxEventObject | Constructs a new event for the given name and properties. |
getName | Returns name. |
getProperties | Returns properties. |
getProperty | Returns the property value for the given key. |
isConsumed | Returns true if the event has been consumed. |
consume | Consumes the event. |
function getName()
Returns name.
function getProperties()
Returns properties.
Holds the name of the event.
var $name
Holds the event properties in an associative array that maps from string (key) to object (value).
var $properties
Holds the consumed state of the event.
var $consumed
Constructs a new event for the given name and properties.
function mxEventObject( $name )
Returns name.
function getName()
Returns properties.
function getProperties()
Returns the property value for the given key.
function getProperty( $key )
Returns true if the event has been consumed.
function isConsumed()
Consumes the event.
function consume()