Variable: eventListeners
Holds the event names and associated listeners in an array. The array contains the event name followed by the respective listener for each registered listener.
Variable: eventSource
Optional source for events. Default is null.
Variable: eventsEnabled
Specifies if events can be fired. Default is true.
Variable: graph
Reference to the enclosing
Variable: handlers
Variable: maxHandlers
Defines the maximum number of handlers to paint individually. Default is 100.
Variable: refreshHandler
Keeps a reference to an event listener for later removal.
Function: addListener
Binds the specified function to the given event name. If no event name is given, then the listener is registered for all events.
The parameters of the listener are the sender and an
Function: destroy
Destroys the handler and all its resources and DOM nodes.
Function: fireEvent
Dispatches the given event to the listeners which are registered for the event. The sender argument is optional. The current execution scope ("this") is used for the listener invocation (see <mxUtils.bind>).
Example:
(code) fireEvent(new mxEventObject("eventName", key1, val1, .., keyN, valN)) (end)
Parameters:
evt -
Function: getEventSource
Returns
Function: getHandler
Returns the handler for the given cell.
Function: isEnabled
Returns
Function: isEventsEnabled
Returns
Function: isHandlerActive
Returns true if the given handler is active and should not be redrawn.
Function: mouseDown
Redirects the given event to the handlers.
Function: mouseMove
Redirects the given event to the handlers.
Function: mouseUp
Redirects the given event to the handlers.
Function: refresh
Reloads or updates all handlers.
Function: removeListener
Removes all occurrences of the given listener from
Function: reset
Resets all handlers.
Function: setEnabled
Sets
Function: setEventSource
Sets
Function: setEventsEnabled
Sets
Function: updateHandler
Updates the handler for the given shape if one exists.
Generated using TypeDoc
Variable: enabled
Specifies if events are handled. Default is true.