An event handler that manages cell handlers and invokes their mouse event processing functions.
mxSelectionCellsHandler | An event handler that manages cell handlers and invokes their mouse event processing functions. |
Events | |
mxEvent.ADD | Fires if a cell has been added to the selection. |
mxEvent. | Fires if a cell has been remove from the selection. |
graph | Reference to the enclosing mxGraph. |
enabled | Specifies if events are handled. |
refreshHandler | Keeps a reference to an event listener for later removal. |
maxHandlers | Defines the maximum number of handlers to paint individually. |
handlers | mxDictionary that maps from cells to handlers. |
isEnabled | Returns enabled. |
setEnabled | Sets enabled. |
getHandler | Returns the handler for the given cell. |
reset | Resets all handlers. |
refresh | Reloads or updates all handlers. |
isHandlerActive | Returns true if the given handler is active and should not be redrawn. |
updateHandler | Updates the handler for the given shape if one exists. |
mouseDown | Redirects the given event to the handlers. |
mouseMove | Redirects the given event to the handlers. |
mouseUp | Redirects the given event to the handlers. |
destroy | Destroys the handler and all its resources and DOM nodes. |
Fires if a cell has been added to the selection. The <code>state</code> property contains the mxCellState that has been added.
Fires if a cell has been remove from the selection. The <code>state</code> property contains the mxCellState that has been removed.
graph | Reference to the enclosing mxGraph. |
mxSelectionCellsHandler.prototype.graph
Reference to the enclosing mxGraph.
mxSelectionCellsHandler.prototype.handlers
mxDictionary that maps from cells to handlers.
mxSelectionCellsHandler.prototype.isEnabled = function()
Returns enabled.
mxSelectionCellsHandler.prototype.setEnabled = function( value )
Sets enabled.
Reference to the enclosing mxGraph.
mxSelectionCellsHandler.prototype.graph
Specifies if events are handled.
mxSelectionCellsHandler.prototype.enabled
Keeps a reference to an event listener for later removal.
mxSelectionCellsHandler.prototype.refreshHandler
Defines the maximum number of handlers to paint individually.
mxSelectionCellsHandler.prototype.maxHandlers
mxDictionary that maps from cells to handlers.
mxSelectionCellsHandler.prototype.handlers
Returns enabled.
mxSelectionCellsHandler.prototype.isEnabled = function()
Sets enabled.
mxSelectionCellsHandler.prototype.setEnabled = function( value )
Returns the handler for the given cell.
mxSelectionCellsHandler.prototype.getHandler = function( cell )
Resets all handlers.
mxSelectionCellsHandler.prototype.reset = function()
Reloads or updates all handlers.
mxSelectionCellsHandler.prototype.refresh = function()
Returns true if the given handler is active and should not be redrawn.
mxSelectionCellsHandler.prototype.isHandlerActive = function( handler )
Updates the handler for the given shape if one exists.
mxSelectionCellsHandler.prototype.updateHandler = function( state )
Redirects the given event to the 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 )
Destroys the handler and all its resources and DOM nodes.
mxSelectionCellsHandler.prototype.destroy = function()