Lines Matching refs:evt

323 		this.addListener(mxEvent.FIRE_MOUSE_EVENT, mxUtils.bind(this, function(sender, evt)  argument
325 if (evt.getProperty('eventName') == 'mouseDown' && this.isEnabled())
327 var me = evt.getProperty('event');
901 this.connectionHandler.createTargetVertex = function(evt, source) argument
952 this.isToggleEvent = function(evt) argument
954 …return isToggleEvent.apply(this, arguments) || (!mxClient.IS_CHROMEOS && mxEvent.isShiftDown(evt));
1100 this.selectRegion = function(rect, evt) argument
1102 var isect = (mxEvent.isAltDown(evt)) ? rect : null;
1109 if (this.isToggleEvent(evt))
1113 this.selectCellForEvent(cells[i], evt);
1118 this.selectCellsForEvent(cells, evt);
1126 this.graphHandler.shouldRemoveCellsFromParent = function(parent, cells, evt) argument
1155 this.addListener(mxEvent.FIRE_MOUSE_EVENT, mxUtils.bind(this, function(sender, evt) argument
1157 if (evt.getProperty('eventName') == 'mouseDown')
1159 var me = evt.getProperty('event');
1175 this.addListener(mxEvent.TAP_AND_HOLD, mxUtils.bind(this, function(sender, evt) argument
1177 if (!mxEvent.isMultiTouchEvent(evt))
1179 var me = evt.getProperty('event');
1180 var cell = evt.getProperty('cell');
1199 evt.consume();
2061 var down = mxUtils.bind(this, function(evt) argument
2064 first = new mxPoint(mxEvent.getClientX(evt), mxEvent.getClientY(evt));
2067 var move = mxUtils.bind(this, function(evt) argument
2070 Math.abs(first.x - mxEvent.getClientX(evt)) < tol &&
2071 Math.abs(first.y - mxEvent.getClientY(evt)) < tol;
2074 var up = mxUtils.bind(this, function(evt) argument
2078 var elt = mxEvent.getSource(evt)
2084 state.view.graph.labelLinkClicked(state, elt, evt);
2094 mxEvent.addListener(shape.node, 'click', function(evt) argument
2096 mxEvent.consume(evt);
2111 mxEvent.addListener(this.div, 'click', mxUtils.bind(this, function(evt) argument
2113 var source = mxEvent.getSource(evt);
2120 (mxEvent.isTouchEvent(evt) || !mxEvent.isPopupTrigger(evt)) &&
2123 mxEvent.consume(evt);
2133 this.addListener(mxEvent.SIZE, mxUtils.bind(this, function(sender, evt) argument
2766 Graph.prototype.labelLinkClicked = function(state, elt, evt) argument
2770 if (href != null && !this.isCustomLink(href) && ((mxEvent.isLeftMouseButton(evt) &&
2771 !mxEvent.isPopupTrigger(evt)) || mxEvent.isTouchEvent(evt)))
2779 mxEvent.consume(evt);
3357 Graph.prototype.isZoomWheelEvent = function(evt) argument
3359 return (Graph.zoomWheel && !mxEvent.isShiftDown(evt) && !mxEvent.isMetaDown(evt) &&
3360 !mxEvent.isAltDown(evt) && (!mxEvent.isControlDown(evt) || mxClient.IS_MAC)) ||
3361 (!Graph.zoomWheel && (mxEvent.isAltDown(evt) || mxEvent.isControlDown(evt)));
3367 Graph.prototype.isScrollWheelEvent = function(evt) argument
3369 return !this.isZoomWheelEvent(evt);
3375 Graph.prototype.isTransparentClickEvent = function(evt) argument
3377 return mxEvent.isAltDown(evt) || (mxClient.IS_CHROMEOS && mxEvent.isShiftDown(evt));
3383 Graph.prototype.isIgnoreTerminalEvent = function(evt) argument
3385 return mxEvent.isAltDown(evt) && !mxEvent.isShiftDown(evt) &&
3386 !mxEvent.isControlDown(evt) && !mxEvent.isMetaDown(evt);
3409 Graph.prototype.isSplitTarget = function(target, cells, evt) argument
3412 !mxEvent.isAltDown(evt) && !mxEvent.isShiftDown(evt) &&
3844 Graph.prototype.selectCellsForConnectVertex = function(cells, evt, hoverIcons) argument
3855 if (mxEvent.isTouchEvent(evt))
3891 Graph.prototype.connectVertex = function(source, direction, length, evt, forceClone, ignoreCellAt, … argument
3993 var duplicate = (!mxEvent.isShiftDown(evt) || mxEvent.isControlDown(evt)) || forceClone;
4077 var edge = ((mxEvent.isControlDown(evt) && mxEvent.isShiftDown(evt) && duplicate) ||
4342 Graph.prototype.isMoveCellsEvent = function(evt, state) argument
4344 return mxEvent.isShiftDown(evt) || mxUtils.getValue(state.style, 'moveCells', '0') == '1';
4350 Graph.prototype.foldCells = function(collapse, recurse, cells, checkFoldable, evt) argument
4388 if (evt != null && this.isMoveCellsEvent(evt, state))
4393 else if ((evt == null || !mxEvent.isAltDown(evt)) &&
5037 mxEvent.addListener(this.graph.container, 'mouseleave', mxUtils.bind(this, function(evt) argument
5040 if (evt.relatedTarget != null && mxEvent.getSource(evt) == this.graph.container)
5047 this.graph.addListener(mxEvent.START_EDITING, mxUtils.bind(this, function(evt) argument
5075 var evt = me.getEvent();
5077 if (this.isResetEvent(evt))
5085 if (state != null || !mxEvent.isTouchEvent(evt))
5095 var evt = me.getEvent();
5097 if (this.isResetEvent(evt))
5101 else if (!this.graph.isMouseDown && !mxEvent.isTouchEvent(evt))
5115 var evt = me.getEvent();
5117 mxEvent.getClientX(evt), mxEvent.getClientY(evt))
5119 if (this.isResetEvent(evt))
5142 else if (mxEvent.isTouchEvent(evt) || (this.bbox != null &&
5149 else if (!mxEvent.isTouchEvent(evt))
5163 HoverIcons.prototype.isResetEvent = function(evt, allowShift) argument
5165 return mxEvent.isAltDown(evt) || (this.activeArrow == null && mxEvent.isShiftDown(evt)) ||
5166 (mxEvent.isPopupTrigger(evt) && !this.graph.isCloneEvent(evt));
5188 mxEvent.addGestureListeners(arrow, mxUtils.bind(this, function(evt) argument
5190 if (this.currentState != null && !this.isResetEvent(evt))
5193 mxEvent.getClientX(evt), mxEvent.getClientY(evt));
5194 this.drag(evt, this.mouseDownPoint.x, this.mouseDownPoint.y);
5197 mxEvent.consume(evt);
5204 mxEvent.addListener(arrow, 'mouseenter', mxUtils.bind(this, function(evt) argument
5207 if (mxEvent.isMouseEvent(evt))
5219 'direction', direction, 'event', evt));
5223 mxEvent.addListener(arrow, 'mouseleave', mxUtils.bind(this, function(evt) argument
5225 if (mxEvent.isMouseEvent(evt))
5228 'direction', direction, 'event', evt));
5326 HoverIcons.prototype.drag = function(evt, x, y) argument
5335 this.graph.isMouseTrigger = mxEvent.isMouseEvent(evt);
5349 if (evt != null && mxEvent.isShiftDown(evt) && mxEvent.isControlDown(evt) && es != null &&
5372 var evt = me.getEvent();
5378 if (tmp != null && this.graph.model.isEdge(tmp.cell) && !this.graph.isCloneEvent(evt) &&
5397 var evt = me.getEvent();
5400 state.cell, dir, this.graph.defaultEdgeLength, evt, this.graph.isCloneEvent(evt),
5401 this.graph.isCloneEvent(evt)), evt, this);
7259 mxGuide.prototype.isEnabledForEvent = function(evt) argument
7261 return !mxEvent.isAltDown(evt);
7283 mxConnectionHandler.prototype.isCreateTarget = function(evt) argument
7285 return this.graph.isCloneEvent(evt) || mxConnectionHandlerCreateTarget.apply(this, arguments);
7899 Graph.prototype.moveCells = function(cells, dx, dy, clone, target, evt, mapping) argument
8282 Graph.prototype.isValidDropTarget = function(cell, cells, evt) argument
8839 Graph.prototype.getDropTarget = function(cells, evt, cell, clone) argument
8844 if (mxEvent.isAltDown(evt))
8906 Graph.prototype.dblClick = function(evt, cell) argument
8910 cell = this.insertTextForEvent(evt, cell);
8911 mxGraph.prototype.dblClick.call(this, evt, cell); argument
8918 Graph.prototype.insertTextForEvent = function(evt, cell) argument
8920 var pt = mxUtils.convertPoint(this.container, mxEvent.getClientX(evt), mxEvent.getClientY(evt));
8923 if (evt != null && !this.model.isVertex(cell))
8926 var src = mxEvent.getSource(evt);
8931 pt.x, pt.y) && !mxUtils.isAncestorNode(state.text.node, mxEvent.getSource(evt))))) &&
9224 var evt = me.getEvent();
9239 (((mxEvent.isLeftMouseButton(evt) || mxEvent.isMiddleMouseButton(evt)) &&
9240 !mxEvent.isPopupTrigger(evt)) || mxEvent.isTouchEvent(evt))))
9249 beforeClick(evt, this.currentLink);
9252 if (!mxEvent.isConsumed(evt))
9255 this.currentTarget : ((mxEvent.isMiddleMouseButton(evt)) ? '_blank' :
9316 mxEvent.addListener(document, 'mouseleave', function(evt) argument
9625 Graph.prototype.isCloneEvent = function(evt) argument
9627 return (mxClient.IS_MAC && mxEvent.isMetaDown(evt)) || mxEvent.isControlDown(evt);
10757 mxEvent.addListener(a, 'click', mxUtils.bind(this, function(evt) argument
10760 mxEvent.consume(evt);
10779 this.addListener(mxEvent.START_EDITING, function(sender, evt) argument
10954 mxCellEditor.prototype.alignText = function(align, evt) argument
10956 var shiftPressed = evt != null && mxEvent.isShiftDown(evt);
11241 mxEvent.addListener(this.textarea, 'paste', mxUtils.bind(this, function(evt) argument
12139 mxEvent.addGestureListeners(moveHandle, mxUtils.bind(this, function(evt) argument
12144 if (this.graph.isToggleEvent(evt) ||
12147 this.graph.selectCellForEvent(rowState.cell, evt);
12150 if (!mxEvent.isPopupTrigger(evt))
12153 mxEvent.getClientX(evt), mxEvent.getClientY(evt),
12156 this.graph.isMouseTrigger = mxEvent.isMouseEvent(evt);
12160 mxEvent.consume(evt);
12161 }), null, mxUtils.bind(this, function(evt) argument
12163 if (mxEvent.isPopupTrigger(evt))
12165 this.graph.popupMenuHandler.popup(mxEvent.getClientX(evt),
12166 mxEvent.getClientY(evt), rowState.cell, evt);
12167 mxEvent.consume(evt);
12524 var evt = me.getEvent();
12526 return (me.getState() == null && !mxEvent.isMouseEvent(evt)) ||
12527 (mxEvent.isPopupTrigger(evt) && (me.getState() == null ||
12528 mxEvent.isControlDown(evt) || mxEvent.isShiftDown(evt)));
12549 var evt = me.getEvent();
12551 return (mxEvent.isLeftMouseButton(evt) && ((this.useLeftButtonForPanning &&
12552 me.getState() == null) || (mxEvent.isControlDown(evt) &&
12553 !mxEvent.isShiftDown(evt)))) || (this.usePopupTrigger &&
12554 mxEvent.isPopupTrigger(evt));
13043 this.changeHandler = mxUtils.bind(this, function(sender, evt) argument
13054 this.editingHandler = mxUtils.bind(this, function(sender, evt) argument
13124 mxEvent.addListener(changeLink, 'click', mxUtils.bind(this, function(evt) argument
13128 mxEvent.consume(evt);
13132 [mxResources.get('link')]), mxUtils.bind(this, function(evt) argument
13135 mxEvent.consume(evt);
13190 this.changeHandler = mxUtils.bind(this, function(sender, evt) argument