Lines Matching refs:consume

314 …type.isConsumed=function(){return this.consumed};mxEventObject.prototype.consume=function(){this.c…  method in mxEventObject
317 mxMouseEvent.prototype.consume=function(a){(null!=a?a:null!=this.evt.touches||mxEvent.isMouseEvent(… method in mxMouseEvent
326consume(a);c=1});mxEvent.addListener(b,"gesturechange",function(b){mxEvent.consume(b);var d=c-b.sc…
332 ….clientX},getClientY:function(a){return mxEvent.getMainEvent(a).clientY},consume:function(a,b,c){c…
357consume(a)});var f=mxUtils.bind(this,function(a){if(null!=b&&null!=c){var f=mxEvent.getClientX(a)-…
364 …null;var a=mxUtils.bind(this,function(a){this.toggleMinimized(a);mxEvent.consume(a)});mxEvent.addG…
370 "px";this.fireEvent(new mxEventObject(mxEvent.MAXIMIZE,"event",g))}mxEvent.consume(g)}});mxEvent.ad…
371 …f,e+g);this.fireEvent(new mxEventObject(mxEvent.MOVE,"event",a));mxEvent.consume(a)}),g=mxUtils.bi…
372 …xEvent.consume(a)});mxEvent.addGestureListeners(document,null,f,g);this.fireEvent(new mxEventObjec…
374 this.setVisible(!1);mxEvent.consume(a)}))};mxWindow.prototype.setImage=function(a){this.image=docum…
385 …mxEvent.consume(a)});this.eventConsumer=function(a,b){var c=b.getProperty("eventName"),d=b.getProp…
395 …);this.dragElement.style.left=b+d.x+"px";this.dragElement.style.top=c+d.y+"px"}mxEvent.consume(a)};
396 …is.currentGraph);this.currentGraph=null}this.stopDrag();this.removeListeners();mxEvent.consume(a)};
436 …&&8==document.documentMode&&(n=document.selection.createRange());mxEvent.consume(a)}),mxUtils.bind…
437 ….select()}catch(q){}n=null}null!=c&&c(a)}this.eventReceiver=null;mxEvent.consume(a)}));k||mxEvent.…
1074consume(a)}));mxEvent.addListener(a,"blur",mxUtils.bind(this,function(a){this.blurEnabled&&this.fo…
1120 mxUtils.bind(this,function(b){this.isLabelEvent(a,b)&&(c.dblClick(b,a.cell),mxEvent.consume(b))}))}…
1123 …"cell",a.cell))});mxEvent.addGestureListeners(c.node,function(a){mxEvent.consume(a)},function(b){d…
1125 …abled()){var d=!b.isCellCollapsed(a.cell);b.foldCells(d,!1,[a.cell],null,c);mxEvent.consume(c)}})};
1127consume(b)},function(b){e.fireMouseEvent(mxEvent.MOUSE_MOVE,new mxMouseEvent(b,a))},function(b){e.…
1130 …xUtils.bind(this,function(c){this.isShapeEvent(a,c)&&(b.dblClick(c,a.cell),mxEvent.consume(c))}))};
1247consume(b)})),mxEvent.addListener(b,"gesturechange",mxUtils.bind(this,function(b){a.fireGestureEve…
1291 …,d=new mxEventObject(mxEvent.CLICK,"event",b,"cell",c);a.isConsumed()&&d.consume();this.fireEvent(…
1293 …=b||!this.isCellEditable(b)||this.isEditing(b)||(this.startEditingAtCell(b,a),mxEvent.consume(a))};
1495 …ent(),d),d=!0):(this.fireDoubleClick=!0,this.lastTouchTime=0),d){mxEvent.consume(b.getEvent());ret…
1497 …-b.getY())<this.doubleTapTolerance?this.dblClick(b.getEvent(),d):mxEvent.consume(b.getEvent());ret…
1501 …tion(a,b,c){a==mxEvent.MOUSE_DOWN&&mxEvent.isTouchEvent(b.getEvent())&&b.consume(!1)};mxGraph.prot…
1513 …is.source.container.scrollLeft;d=this.source.container.scrollTop;mxEvent.consume(f)}}),g=mxUtils.b…
1514 …aph((b.x-mxEvent.getClientX(a))*e,(b.y-mxEvent.getClientY(a))*e),mxEvent.consume(a))}),k=mxUtils.b…
1515 ….panGraph(0,0)}mxEvent.removeGestureListeners(document,null,g,k);mxEvent.consume(a);b=null}});mxEv…
1571 mxGraphHandler.prototype.consumeMouseEvent=function(a,b){b.consume()};
1588 …}this.updateHint(b);this.consumeMouseEvent(mxEvent.MOUSE_MOVE,b);mxEvent.consume(b.getEvent())}};m…
1608 …tive=!0,this.fireEvent(new mxEventObject(mxEvent.PAN_START,"event",e)),e.consume())}),this.graph.a…
1614 …;this.panningTrigger=!0};mxPanningHandler.prototype.consumePanningTrigger=function(a){a.consume()};
1616consume()};mxPanningHandler.prototype.mouseUp=function(a,b){if(this.active){if(null!=this.dx&&null…
1617 …his.maxScale,b));this.graph.view.scale!=b&&(this.graph.zoomTo(b),mxEvent.consume(a))};mxPanningHan…
1624 this.graph.tooltipHandler.hide();c(d);a&&b.consume()}this.inTolerance=this.popupTrigger=!1};mxPopup…
1660 …this.fireEvent(new mxEventObject(mxEvent.START,"state",this.previous));b.consume()}this.selectedIc…
1677consume(b.getEvent());b.consume()}else this.isEnabled()&&this.graph.isEnabled()?this.previous!=thi…
1678 this.currentState||null==this.currentState||null!=this.icons||this.graph.isMouseDown||b.consume():t…
1687 …is.waypointsEnabled&&!this.isStopEvent(b)){this.addWaypointForEvent(b);b.consume();return}var c=th…
1688 …error)):this.connect(e,f,b.getEvent(),b.getCell());this.destroyIcons();b.consume()}null!=this.firs…
1720 …aph.container);f.x-=b.x;f.y-=b.y;this.start(e.getX()+f.x,e.getY()+f.y);e.consume(!1)}}),this.graph…
1723 …igin(this.graph.container);d.x-=c.x;d.y-=c.y;this.start(b.getX()+d.x,b.getY()+d.y);b.consume(!1)}};
1725 …l==this.div&&(this.div=this.createShape()),mxUtils.clearSelection(),this.update(d,c),b.consume()}};
1727 …a,b){var c=this.isActive();this.reset();c&&(this.execute(b.getEvent()),b.consume())};mxRubberband.…
1760 …tHandleForEvent(b);null!=c&&(this.start(b.getGraphX(),b.getGraphY(),c),b.consume())}};mxVertexHand…
1768 …l==this.index?this.graph.isMouseDown||null==this.getHandleForEvent(b)||b.consume(!1):(this.checkTo…
1770 this.updateHint(b))),b.consume())};mxVertexHandler.prototype.isGhostPreview=function(){return 0<thi…
1786 …is.isConstrainedEvent(b),r)}}finally{this.graph.getModel().endUpdate()}b.consume();this.reset();th…
1836 …s.isAddPointEvent(b.getEvent()))this.addPoint(this.state,b.getEvent()),b.consume();else if(null!=c…
1837 …is.virtualBends[mxEvent.VIRTUAL_HANDLE-c].node,100),this.start(b.getX(),b.getY(),c);b.consume()}}};
1859 …s.updateHint(b,this.currentPoint)}this.drawPreview();mxEvent.consume(b.getEvent());b.consume()}els…
1860 b.consume(!1)};
1865 …null!=this.marker&&(this.reset(),c!=this.state.cell&&this.graph.setSelectionCell(c));b.consume()}};
1873 ….graph.isGridEnabledEvent(b);this.convertPoint(c,d);this.addPointAt(a,c.x,c.y);mxEvent.consume(b)};
1893 …ed(a)&&this.flipEnabled&&(this.graph.flipEdge(this.state.cell,a),mxEvent.consume(a))})));this.poin…
1916 …a);else if(!this.isEventIgnored(a)){var b=this.getFunction(a);null!=b&&(b(a),mxEvent.consume(a))}};
2081 …(f,"click",function(b){d.checked=!d.checked;l.checked=!d.checked;mxEvent.consume(b)});mxEvent.addL…
2082 "click",function(b){l.checked=!l.checked;d.checked=!l.checked;mxEvent.consume(b)});k.appendChild(g)…
2091 "click",function(d){b.pickColor(q||"none",function(b){q=b;c()});mxEvent.consume(d)});p.appendChild(…
2093 …on(d){b.showBackgroundImageDialog(function(b,d){d||(v=b,e())},v);mxEvent.consume(d)};mxEvent.addLi…
2102 …on(b){p.checked=!0;F(b);mxEvent.consume(b)});mxEvent.addListener(l,"click",function(b){t.checked=!…
2115 …meDialog.filenameHelpLink)},null,mxResources.get("ok"),null,null,null,340,90);mxEvent.consume(c)});
2132 …ments);null==k||k||mxEvent.addListener(l,"mousedown",function(b){mxEvent.consume(b)});return l};va…
2146 ….cursor="move",k.isEditing()||mxEvent.getSource(b)!=k.container||mxEvent.consume(b))});mxEvent.add…
2167 …oint(this.container,mxEvent.getClientX(d),mxEvent.getClientY(d));mxEvent.consume(d);window.setTime…
2169 for(g.consume();null!=m&&b.model.isVertex(m)&&null!=f&&f.relative;)cell=m,m=b.model.getParent(cell)…
2183 mxEvent.consume(b)}};
2202 …mxUtils.bind(this,function(b){window.location.href=g.backBtn.url;mxEvent.consume(b)}),Editor.backI…
2203 function(b){this.actions.get("previousPage").funct();mxEvent.consume(b)}),Editor.previousImage,mxRe…
2204 mxEvent.consume(b)}),Editor.nextImage,mxResources.get("nextPage")),q=mxUtils.bind(this,function(){n…
2205consume(b)}),Editor.zoomOutImage,mxResources.get("zoomOut")+" (Alt+Mousewheel)");p(mxUtils.bind(th…
2206 …b.zoomTo(1),this.chromelessResize(!1)):this.chromelessResize(!0);mxEvent.consume(d)}),Editor.zoomF…
2209 …s.layersDialog);this.editor.fireEvent(new mxEventObject("layersDialogShown"))}mxEvent.consume(d)}),
2211consume(d)}),Editor.editImage,mxResources.get("edit"));if(null!=this.lightboxToolbarActions)for(m=…
2212consume(d)}),Editor.fullscreenImage,mxResources.get("openInNewWindow",null,"Open in New Window"));…
2213 …oolbar,mxClient.IS_POINTER?"pointermove":"mousemove",function(b){mxEvent.consume(b)});mxEvent.addL…
2214 …,mxUtils.bind(this,function(b){mxEvent.isShiftDown(b)?v():y(100);mxEvent.consume(b)}));mxEvent.add…
2226 …(mxEvent.getClientX(d),mxEvent.getClientY(d)),ea=c,b.lazyZoom(f),mxEvent.consume(d),!1;g=g.parentN…
2227 ….consume(d)}};EditorUi.prototype.addChromelessToolbarItems=function(b){b(mxUtils.bind(this,functio…
2270 …b),mxEvent.getClientY(b));k(Math.max(0,d+(c?g.x-t.x:t.y-g.y)-e));mxEvent.consume(b);d!=q()&&(f=!0,…
2271 ….consume(b)});mxEvent.addListener(b,"click",mxUtils.bind(this,function(b){if(!f&&this.hsplitClickE…
2322 …=u&&(m.start(e.getGraphX(),e.getGraphY(),u),m.blockDelayedSelection=!v,e.consume()))}}for(;!e.isCo…
2323 …HANDLE-m.customHandles.length+1,m.start(e.getGraphX(),e.getGraphY(),u),e.consume())),g=this.view.g…
2325 …bleSourceState&&null==e.visibleTargetState||(this.graphHandler.reset(),c.consume());else if(g==mxE…
2326 …=g&&(g=mxEvent.VIRTUAL_HANDLE)),k.start(c.getGraphX(),c.getGraphX(),g),c.consume(),this.graphHandl…
2344 …ionCount()&&this.isCellSelected(c)&&this.removeSelectionCell(c);O=null;d.consume()}}));this.connec…
2368 …ers(c.node,d,f,l);mxEvent.addListener(c.node,"click",function(b){mxEvent.consume(b)})};if(null!=th…
2369 …)||!mxEvent.isPopupTrigger(b))&&this.graph.customLinkClicked(c)&&mxEvent.consume(b))}))}}this.addL…
2384 …isBlankLink(c)?this.linkTarget:"_top",this.openLink(this.getAbsoluteUrl(c),b);mxEvent.consume(e)}};
2458 …his.mouseDownPoint.y),this.activeArrow=k,this.setDisplay("none"),mxEvent.consume(b))}));mxEvent.re…
2464 …1)!=b?null!=b&&this.execute(b,c,e):(this.graph.setSelectionCell(g.cell),this.reset());e.consume()};
2571 …utton(k)?"_blank":e?l.linkTarget:"_top",l.openLink(this.currentLink,k),c.consume())):null!=f&&!c.i…
2602 …,"click",mxUtils.bind(this,function(d){this.customLinkClicked(b);mxEvent.consume(d)}));return c};G…
2644consume(b)}),null,mxUtils.bind(this,function(b){mxEvent.isPopupTrigger(b)&&(this.graph.popupMenuHa…
2663 …nd.prototype.mouseUp=function(b,d){if(this.cancelled)this.cancelled=!1,d.consume();else{var f=null…
2665 …this.y,this.width,this.height),this.graph.selectRegion(g,d.getEvent());d.consume()}}};mxRubberband…
2668 …secondDiv.parentNode.removeChild(this.secondDiv),this.secondDiv=null)),d.consume()}};var G=mxRubbe…
2682 …is.graph.setSelectionCell(this.state.cell);this.graph.editLink();mxEvent.consume(b)}));this.linkHi…
2683 …this,function(b){this.graph.setLinkForCell(this.state.cell,null);mxEvent.consume(b)}))}if(null!=f)…
3244 …none"==d?"url('"+Dialog.prototype.noColorImage+"')":d;f(b,d,c)});mxEvent.consume(g)}));btn.style.h…
3245 …,u,0==q%2,m);f(b,e,u);k.parentNode.insertBefore(q,k.nextSibling);mxEvent.consume(d)}));btn.style.h…
3251 …=mxUtils.button("-",mxUtils.bind(q,function(b){f(d,"",n,n.index);mxEvent.consume(b)})),v.style.hei…
3282 …ddenTags.push(b):0<=c&&l.hiddenTags.splice(c,1),f(),l.refresh());mxEvent.consume(d)});n.appendChil…
3284 b);c.splice(k,1);l.hiddenTags=c;f();l.refresh()}mxEvent.consume(d)});n.appendChild(q);if(l.isEnable…
3285 …Cells(l.model.getDescendants(l.model.getRoot()),[b]);l.refresh();mxEvent.consume(d)});q.appendChil…
3286 …tionCells(),[b]):l.removeTagsForCells(l.getSelectionCells(),[b]);mxEvent.consume(d)});q.appendChil…
3435consume(d)}}));if(b.isEditable()){var B=this.editor.graph,F=null,M=mxUtils.bind(this,function(d){t…
3437 …8*p.childNodes.length+"px",I.parentNode.removeChild(I),I=null)});mxEvent.consume(d)})),q.style.pad…
3439 …height/=f;c.x-=B.view.translate.x;c.y-=B.view.translate.y;K(d,c)}mxEvent.consume(b)});mxEvent.addG…
3440consume(b))}),mxUtils.bind(this,function(b){B.isMouseDown&&null!=B.panningManager&&null!=B.graphHa…
3447 …bind(this,function(b){this.openLink(EditorUi.scratchpadHelpLink);mxEvent.consume(b)})),p.insertBef…
3456 mxEvent.consume(b)}));b.appendChild(c);return b};EditorUi.prototype.handleError=function(b,c,e,g,k,…
3468consume(b);q()}));var p=mxUtils.bind(this,function(){mxUtils.setPrefixedStyle(f.style,"transform",…
3482 …sh();this.editor.fireEvent(new mxEventObject("tagsDialogShown"))}mxEvent.consume(b)}),Editor.tagsI…
3489 …ontainer,"click",d);document.body.appendChild(this.exportDialog)}mxEvent.consume(b)}),Editor.camer…
3501 …(this,function(b){this.pickColor(g||"none",function(b){g=b;d()});mxEvent.consume(b)}));d();k.style…
4050consume(b)});mxEvent.addListener(e,"mouseenter",mxUtils.bind(this,function(b){t(100)}));mxEvent.ad…
4066 …ibute("href")),g=g.parentNode;null!=c?null==k||b.isCustomLink(k)?mxEvent.consume(e):b.isExternalPr…
4067 …upTrigger(e))&&b.customLinkClicked(k)&&(mxUtils.clearSelection(),mxEvent.consume(e))}),mxUtils.bin…