Specifies if events are handled. Default is true.
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.
Optional source for events. Default is null.
Specifies if events can be fired. Default is true.
Reference to the enclosing Graph.
Dictionary that maps from cells to handlers.
Defines the maximum number of handlers to paint individually. Default is 100.
Keeps a reference to an event listener for later removal.
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 EventObject.
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 {@link Utils#bind}).
Example:
fireEvent(new mxEventObject("eventName", key1, val1, .., keyN, valN))
EventObject that represents the event.
Optional sender to be passed to the listener. Default value is
the return value of
Returns
Reloads or updates all handlers.
Returns the handler for the given cell.
Returns
Returns
Returns true if the given cell has a handler.
Returns true if the given handler is active and should not be redrawn.
Redirects the given event to the handlers.
Redirects the given event to the handlers.
Redirects the given event to the handlers.
Destroys the handler and all its resources and DOM nodes.
Reloads or updates all handlers.
Removes all occurrences of the given listener from
Resets all handlers.
Sets
Sets
Sets
Updates the handler for the given shape if one exists.
Generated using TypeDoc
An event handler that manages cell handlers and invokes their mouse event processing functions.
Group: Events
Event: mxEvent.ADD
Fires if a cell has been added to the selection. The that has been added.
state
property contains theEvent: mxEvent.REMOVE
Fires if a cell has been remove from the selection. The that has been removed.
state
property contains theReference to the enclosing Graph.