Lines Matching refs:handler

348 			    			var handler = this.selectionCellsHandler.getHandler(state.cell);
350 if (handler != null && handler.bends != null && handler.bends.length > 0)
352 start.handle = handler.getHandleForEvent(me);
358 var handler = this.selectionCellsHandler.getHandler(state.cell);
361 if (handler == null || handler.getHandleForEvent(me) == null)
387 handler = this.selectionCellsHandler.getHandler(table);
389 if (handler != null)
391 var handle = handler.getHandleForEvent(me);
395 handler.start(me.getGraphX(), me.getGraphY(), handle);
396 handler.blockDelayedSelection = !wasSelected;
421 handler = this.selectionCellsHandler.getHandler(current.cell);
423 if (handler != null)
426 var handle = mxEvent.CUSTOM_HANDLE - handler.customHandles.length + 1;
427 handler.start(me.getGraphX(), me.getGraphY(), handle);
470 var handler = this.selectionCellsHandler.getHandler(state.cell);
472 if (handler == null && this.model.isEdge(state.cell))
474 handler = this.createHandler(state);
477 if (handler != null && handler.bends != null && handler.bends.length > 0)
479 var handle = handler.getHandleForEvent(start.event);
490 …if (!entity || handle == 0 || handle == handler.bends.length - 1 || handle == mxEvent.LABEL_HANDLE)
495 handle == handler.bends.length - 1 || state.visibleTargetState != null)
522 handle = handler.bends.length - 1;
563 handler.start(me.getGraphX(), me.getGraphX(), handle);
578 if (handler != null)
581 if (this.selectionCellsHandler.isHandlerActive(handler))
585 this.selectionCellsHandler.handlers.put(state.cell, handler);
592 handler.destroy();
5339 var handler = this.graph.selectionCellsHandler.getHandler(this.currentState.cell);
5341 if (handler != null)
5343 handler.setHandlesVisible(false);
5453 var handler = this.graph.selectionCellsHandler.getHandler(this.currentState.cell);
5457 handler = this.graph.selectionCellsHandler.getHandler(
5463 if (handler != null)
5465 bds.x -= handler.horizontalOffset / 2;
5466 bds.y -= handler.verticalOffset / 2;
5467 bds.width += handler.horizontalOffset;
5468 bds.height += handler.verticalOffset;
5471 if (handler.rotationShape != null && handler.rotationShape.node != null &&
5472 handler.rotationShape.node.style.visibility != 'hidden' &&
5473 handler.rotationShape.node.style.display != 'none' &&
5474 handler.rotationShape.boundingBox != null)
5476 rotationBbox = handler.rotationShape.boundingBox;