mxSelectionCellsHandler

An event handler that manages cell handlers and invokes their mouse event processing functions.

Parameters

graphReference to the enclosing mxGraph.
Summary
mxSelectionCellsHandlerAn event handler that manages cell handlers and invokes their mouse event processing functions.
Variables
graphReference to the enclosing mxGraph.
enabledSpecifies if events are handled.
refreshHandlerKeeps a reference to an event listener for later removal.
maxHandlersDefines the maximum number of handlers to paint individually.
handlersmxDictionary that maps from cells to handlers.
Functions
isEnabledReturns enabled.
setEnabledSets enabled.
getHandlerReturns the handler for the given cell.
resetResets all handlers.
refreshReloads or updates all handlers.
mouseDownRedirects the given event to the handlers.
mouseMoveRedirects the given event to the handlers.
mouseUpRedirects the given event to the handlers.
destroyDestroys the handler and all its resources and DOM nodes.

Variables

graph

mxSelectionCellsHandler.prototype.graph

Reference to the enclosing mxGraph.

enabled

mxSelectionCellsHandler.prototype.enabled

Specifies if events are handled.  Default is true.

refreshHandler

mxSelectionCellsHandler.prototype.refreshHandler

Keeps a reference to an event listener for later removal.

maxHandlers

mxSelectionCellsHandler.prototype.maxHandlers

Defines the maximum number of handlers to paint individually.  Default is 100.

handlers

mxSelectionCellsHandler.prototype.handlers

mxDictionary that maps from cells to handlers.

Functions

isEnabled

mxSelectionCellsHandler.prototype.isEnabled = function()

Returns enabled.

setEnabled

mxSelectionCellsHandler.prototype.setEnabled = function(value)

Sets enabled.

getHandler

mxSelectionCellsHandler.prototype.getHandler = function(cell)

Returns the handler for the given cell.

reset

mxSelectionCellsHandler.prototype.reset = function()

Resets all handlers.

refresh

mxSelectionCellsHandler.prototype.refresh = function()

Reloads or updates all handlers.

mouseDown

mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)

Redirects the given event to the handlers.

mouseMove

mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)

Redirects the given event to the handlers.

mouseUp

mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)

Redirects the given event to the handlers.

destroy

mxSelectionCellsHandler.prototype.destroy = function()

Destroys the handler and all its resources and DOM nodes.

mxSelectionCellsHandler.prototype.graph
Reference to the enclosing mxGraph.
Extends mxEventSource to implement a graph component for the browser.
mxSelectionCellsHandler.prototype.enabled
Specifies if events are handled.
mxSelectionCellsHandler.prototype.refreshHandler
Keeps a reference to an event listener for later removal.
mxSelectionCellsHandler.prototype.maxHandlers
Defines the maximum number of handlers to paint individually.
mxSelectionCellsHandler.prototype.handlers
mxDictionary that maps from cells to handlers.
A wrapper class for an associative array with object keys.
mxSelectionCellsHandler.prototype.isEnabled = function()
Returns enabled.
mxSelectionCellsHandler.prototype.setEnabled = function(value)
Sets enabled.
mxSelectionCellsHandler.prototype.getHandler = function(cell)
Returns the handler for the given cell.
mxSelectionCellsHandler.prototype.reset = function()
Resets all handlers.
mxSelectionCellsHandler.prototype.refresh = function()
Reloads or updates all handlers.
mxSelectionCellsHandler.prototype.mouseDown = function(sender,
me)
Redirects the given event to the handlers.
mxSelectionCellsHandler.prototype.mouseMove = function(sender,
me)
Redirects the given event to the handlers.
mxSelectionCellsHandler.prototype.mouseUp = function(sender,
me)
Redirects the given event to the handlers.
mxSelectionCellsHandler.prototype.destroy = function()
Destroys the handler and all its resources and DOM nodes.
Close