Lines Matching refs:me

327 				var me = evt.getProperty('event');
328 var state = me.getState();
331 if (!mxEvent.isAltDown(me.getEvent()) && state != null)
336 start.point = new mxPoint(me.getGraphX(), me.getGraphY());
339 start.event = me;
342 mxUtils.contains(state.text.boundingBox, me.getGraphX(), me.getGraphY()))
352 start.handle = handler.getHandleForEvent(me);
356 else if (!this.panningHandler.isActive() && !mxEvent.isControlDown(me.getEvent()))
361 if (handler == null || handler.getHandleForEvent(me) == null)
363 var box = new mxRectangle(me.getGraphX() - 1, me.getGraphY() - 1);
364 box.grow(mxEvent.isTouchEvent(me.getEvent()) ?
386 this.selectCellForEvent(table, me.getEvent());
391 var handle = handler.getHandleForEvent(me);
395 handler.start(me.getGraphX(), me.getGraphY(), handle);
397 me.consume();
407 while (!me.isConsumed() && current != null && (this.isTableCell(current.cell) ||
420 this.selectCellForEvent(current.cell, me.getEvent());
427 handler.start(me.getGraphX(), me.getGraphY(), handle);
428 me.consume();
445 mouseDown: function(sender, me) {}, argument
446 mouseMove: mxUtils.bind(this, function(sender, me) argument
459 if (this.isEnabled() && !this.panningHandler.isActive() && !mxEvent.isAltDown(me.getEvent()))
467 if (Math.abs(start.point.x - me.getGraphX()) > tol ||
468 Math.abs(start.point.y - me.getGraphY()) > tol)
563 handler.start(me.getGraphX(), me.getGraphX(), handle);
564 me.consume();
574 me.consume();
586 this.selectCellForEvent(state.cell, me.getEvent());
607 var state = me.getState();
616 var box = new mxRectangle(me.getGraphX(), me.getGraphY());
623 mxUtils.contains(state.text.boundingBox, me.getGraphX(), me.getGraphY()))
640 var idx = mxUtils.findNearestSegment(state, me.getGraphX(), me.getGraphY());
651 else if (!mxEvent.isControlDown(me.getEvent()))
653 var box = new mxRectangle(me.getGraphX() - 1, me.getGraphY() - 1);
715 mouseUp: mxUtils.bind(this, function(sender, me) argument
769 this.connectionHandler.isValidSource = function(cell, me) argument
943 this.connectionHandler.isOutlineConnectEvent = function(me) argument
945 … return (this.currentState != null && me.getState() == this.currentState && timeOnTarget > 2000) ||
961 rubberband.isForceRubberbandEvent = function(me) argument
963 … return (isForceRubberBandEvent.apply(this, arguments) && !mxEvent.isShiftDown(me.getEvent()) &&
964 …!mxEvent.isControlDown(me.getEvent())) || (mxClient.IS_CHROMEOS && mxEvent.isShiftDown(me.getEvent…
966 mxClient.IS_WIN && me.getState() == null && mxEvent.isTouchEvent(me.getEvent()));
991 this.popupMenuHandler.isSelectOnPopup = function(me) argument
993 return mxEvent.isMouseEvent(me.getEvent());
998 this.click = function(me) argument
1000 var locked = me.state == null && me.sourceState != null &&
1001 this.isCellLocked(me.sourceState.cell);
1003 if ((!this.isEnabled() || locked) && !me.isConsumed())
1005 var cell = (locked) ? me.sourceState.cell : me.getCell();
1036 this.tooltipHandler.getStateForEvent = function(me) argument
1038 return me.sourceState;
1063 this.tooltipHandler.getStateForEvent = function(me) argument
1065 return me.sourceState;
1070 this.getCursorForMouseEvent = function(me) argument
1072 … var locked = me.state == null && me.sourceState != null && this.isCellLocked(me.sourceState.cell);
1074 return this.getCursorForCell((locked) ? me.sourceState.cell : me.getCell());
1159 var me = evt.getProperty('event');
1160 var state = me.getState();
1179 var me = evt.getProperty('event');
1185 mxEvent.getClientX(me), mxEvent.getClientY(me));
1243 this.updateMouseEvent = function(me) argument
1245 me = graphUpdateMouseEvent.apply(this, arguments);
1247 if (me.state != null && this.isCellLocked(me.getCell()))
1249 me.state = null;
1252 return me;
5054 this.graph.click = mxUtils.bind(this, function(me) argument
5059 mxEvent.isTouchEvent(me.getEvent()) && !this.graph.model.isVertex(me.getCell()))
5072 mouseDown: mxUtils.bind(this, function(sender, me) argument
5075 var evt = me.getEvent();
5083 var state = this.getState(me.getState());
5093 mouseMove: mxUtils.bind(this, function(sender, me) argument
5095 var evt = me.getEvent();
5103 this.update(this.getState(me.getState()),
5104 me.getGraphX(), me.getGraphY());
5113 mouseUp: mxUtils.bind(this, function(sender, me) argument
5115 var evt = me.getEvent();
5126 this.click(this.currentState, this.getDirection(), me);
5135 this.graph.getCellAt(me.getGraphX(), me.getGraphY()))));
5143 mxUtils.contains(this.bbox, me.getGraphX(), me.getGraphY())))
5370 HoverIcons.prototype.click = function(state, dir, me) argument
5372 var evt = me.getEvent();
5373 var x = me.getGraphX();
5374 var y = me.getGraphY();
5386 this.execute(state, dir, me);
5389 me.consume();
5395 HoverIcons.prototype.execute = function(state, dir, me) argument
5397 var evt = me.getEvent();
7302 mxConnectionHandler.prototype.createEdgeState = function(me) argument
7342 marker.getCell = mxUtils.bind(this, function(me) argument
8894 Graph.prototype.click = function(me) argument
8896 mxGraph.prototype.click.call(this, me); argument
8899 this.firstClickState = me.getState();
8900 this.firstClickSource = me.getSource();
9131 updateCurrentState: function(me) argument
9133 var tmp = me.sourceState;
9138 … var cell = graph.getCellAt(me.getGraphX(), me.getGraphY(), null, null, null, function(state, x, y)
9161 mouseDown: function(sender, me) argument
9163 this.startX = me.getGraphX();
9164 this.startY = me.getGraphY();
9173 this.updateCurrentState(me);
9175 mouseMove: function(sender, me) argument
9181 var dx = Math.abs(this.startX - me.getGraphX());
9182 var dy = Math.abs(this.startY - me.getGraphY());
9193 var linkNode = me.getSource();
9208 graph.tooltipHandler.reset(me, true, this.currentState);
9211 … if (this.currentState != null && (me.getState() == this.currentState || me.sourceState == null) &&
9212 graph.intersects(this.currentState, me.getGraphX(), me.getGraphY()))
9217 this.updateCurrentState(me);
9221 mouseUp: function(sender, me) argument
9223 var source = me.getSource();
9224 var evt = me.getEvent();
9238 (me.sourceState == null || !me.isSource(me.sourceState.control))) &&
9259 me.consume();
9262 else if (onClick != null && !me.isConsumed() &&
9265 (Math.abs(this.startX - me.getGraphX()) < tol &&
9266 Math.abs(this.startY - me.getGraphY()) < tol))
9268 onClick(me.getEvent());
9313 graph.click = function(me) {}; argument
10786 this.updateMouseEvent = function(me) argument
10788 me = graphUpdateMouseEvent.apply(this, arguments);
10790 if (mxEvent.isTouchEvent(me.getEvent()) && me.getState() == null)
10792 var cell = this.getCellAt(me.graphX, me.graphY);
10794 … if (cell != null && this.isSwimlane(cell) && this.hitsSwimlaneContent(cell, me.graphX, me.graphY))
10800 me.state = this.view.getState(cell);
10802 if (me.state != null && me.state.shape != null)
10804 this.container.style.cursor = me.state.shape.node.style.cursor;
10809 if (me.getState() == null && this.isEnabled())
10814 return me;
10825 this.fireMouseEvent = function(evtName, me, sender) argument
10830 me = this.updateMouseEvent(me);
10832 cellSelected = this.isCellSelected(me.getCell());
10843 this.popupMenuHandler.mouseUp = mxUtils.bind(this, function(sender, me) argument
10845 var isMouseEvent = mxEvent.isMouseEvent(me.getEvent());
10847 (me.getState() == null || !me.isSource(me.getState().control)) &&
10849 ((selectionEmpty && me.getCell() == null && this.isSelectionEmpty()) ||
10850 (cellSelected && this.isCellSelected(me.getCell())))));
10860 this.popupMenuHandler.popup(me.getX() + origin.x + 1,
10861 me.getY() + origin.y + 1, cell, me.getEvent());
10866 mxPopupMenuHandler.prototype.mouseUp.apply(this.popupMenuHandler, [sender, me, popup]); argument
11061 mxConstraintHandler.prototype.update = function(me, source) argument
11063 if (this.isKeepFocusEvent(me) || !mxEvent.isAltDown(me.getEvent()))
11579 mxGraphHandler.prototype.isValidDropTarget = function(target, me) argument
11582 !mxEvent.isAltDown(me.getEvent);
11625 mxGraphHandler.prototype.updateHint = function(me) argument
11784 mxVertexHandler.prototype.isRecursiveResize = function(state, me) argument
11787 !mxEvent.isControlDown(me.getEvent());
11793 mxVertexHandler.prototype.isCenteredEvent = function(state, me) argument
11799 mxEvent.isControlDown(me.getEvent())) ||
11800 mxEvent.isMetaDown(me.getEvent());
11966 handle.setPosition = function(bounds, pt, me) argument
11970 shiftPressed = mxEvent.isShiftDown(me.getEvent());
11978 handle.execute = function(me) argument
11987 var temp = graph.getCellAt(me.getGraphX(), me.getGraphY()) || tableState.cell;
11988 graph.graphHandler.selectCellForEvent(temp, me);
12041 handle.setPosition = function(bounds, pt, me)
12047 handle.execute = function(me)
12052 !mxEvent.isShiftDown(me.getEvent()));
12056 var temp = graph.getCellAt(me.getGraphX(), me.getGraphY()) || tableState.cell;
12057 graph.graphHandler.selectCellForEvent(temp, me);
12271 mxVertexHandler.prototype.updateHint = function(me) argument
12329 mxEdgeHandler.prototype.mouseMove = function(sender, me) argument
12345 mxEdgeHandler.prototype.mouseUp = function(sender, me) argument
12358 mxEdgeHandler.prototype.updateHint = function(me, point) argument
12389 this.hint.style.left = Math.round(me.getGraphX() - this.hint.clientWidth / 2) + 'px';
12390 this.hint.style.top = (Math.max(me.getGraphY(), point.y) + Editor.hintOffset) + 'px';
12487 mxEdgeHandler.prototype.isAddVirtualBendEvent = function(me) argument
12489 return !mxEvent.isShiftDown(me.getEvent());
12493 mxEdgeHandler.prototype.isCustomHandleEvent = function(me) argument
12495 return !mxEvent.isShiftDown(me.getEvent());
12515 mxConstraintHandler.prototype.getTolerance = function(me) argument
12517 return (mxEvent.isMouseEvent(me.getEvent())) ? 4 : this.graph.getTolerance();
12522 mxPanningHandler.prototype.isPanningTrigger = function(me) argument
12524 var evt = me.getEvent();
12526 return (me.getState() == null && !mxEvent.isMouseEvent(evt)) ||
12527 (mxEvent.isPopupTrigger(evt) && (me.getState() == null ||
12533 mxGraphHandler.prototype.mouseDown = function(sender, me) argument
12537 if (mxEvent.isTouchEvent(me.getEvent()) && this.graph.isCellSelected(me.getCell()) &&
12547 mxPanningHandler.prototype.isPanningTrigger = function(me) argument
12549 var evt = me.getEvent();
12552 me.getState() == null) || (mxEvent.isControlDown(evt) &&
12559 mxRubberband.prototype.isSpaceEvent = function(me) argument
12562 mxEvent.isControlDown(me.getEvent()) && mxEvent.isShiftDown(me.getEvent()) &&
12563 mxEvent.isAltDown(me.getEvent());
12580 mxRubberband.prototype.mouseUp = function(sender, me) argument
12585 me.consume();
12603 if (!mxEvent.isAltDown(me.getEvent()))
12627 if (this.isSpaceEvent(me))
12658 this.graph.selectRegion(rect, me.getEvent());
12661 me.consume();
12667 mxRubberband.prototype.mouseMove = function(sender, me) argument
12669 if (!me.isConsumed() && this.first != null)
12675 var x = me.getX() + origin.x;
12676 var y = me.getY() + origin.y;
12693 if (this.isSpaceEvent(me))
12699 if (!mxEvent.isAltDown(me.getEvent()))
12762 me.consume();
12786 mxEdgeHandler.prototype.updatePreviewState = function(edge, point, terminalState, me) argument
12806 mxEdgeHandler.prototype.isOutlineConnectEvent = function(me) argument
12808 …return (this.currentTerminalState != null && me.getState() == this.currentTerminalState && timeOnT…
12923 mxVertexHandler.prototype.mouseDown = function(sender, me) argument
12930 var handle = this.getHandleForEvent(me);
12960 mxVertexHandler.prototype.mouseMove = function(sender, me) argument
12980 mxVertexHandler.prototype.mouseUp = function(sender, me) argument