Lines Matching refs:state

110 …e=function(){this.consumed=!0};function mxMouseEvent(a,b){this.evt=a;this.sourceState=this.state=b}
111 …ype.graphX=null;mxMouseEvent.prototype.graphY=null;mxMouseEvent.prototype.state=null;mxMouseEvent.… method in mxMouseEvent
112 …eturn this.graphY};mxMouseEvent.prototype.getState=function(){return this.state};mxMouseEvent.prot…
254 …erter=this.createUrlConverter();this.reset()}mxAbstractCanvas2D.prototype.state=null;mxAbstractCan… method in mxAbstractCanvas2D
256 mxAbstractCanvas2D.prototype.reset=function(){this.state=this.createState();this.states=[]};
259 …is.path&&(this.path.push(arguments[0]),2<arguments.length))for(var a=this.state,b=2;b<arguments.le…
260state);this.state=mxUtils.clone(this.state)};mxAbstractCanvas2D.prototype.restore=function(){0<thi…
261state.alpha=a};mxAbstractCanvas2D.prototype.setFillAlpha=function(a){this.state.fillAlpha=a};mxAbs…
262state;c.fillColor=a;c.gradientFillAlpha=null!=k?k:1;c.gradientColor=b;c.gradientAlpha=null!=l?l:1;…
263state.dashPattern=a};mxAbstractCanvas2D.prototype.setLineCap=function(a){this.state.lineCap=a};mxA…
264state.fontBackgroundColor=a};mxAbstractCanvas2D.prototype.setFontBorderColor=function(a){a==mxCons…
265state.fontStyle=a};mxAbstractCanvas2D.prototype.setShadow=function(a){this.state.shadow=a};mxAbstr…
273state.alpha==a)return;mxAbstractCanvas2D.prototype.setAlpha.apply(this,arguments)}var b=this.creat…
274 mxXmlCanvas2D.prototype.setStrokeAlpha=function(a){if(this.compressed){if(this.state.strokeAlpha==a…
275 …lor=function(a){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fillColor==a)retur…
277 …lor=function(a){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.strokeColor==a)ret…
278 mxXmlCanvas2D.prototype.setStrokeWidth=function(a){if(this.compressed){if(this.state.strokeWidth==a…
279 mxXmlCanvas2D.prototype.setDashed=function(a,b){if(this.compressed){if(this.state.dashed==a)return;…
280state.dashPattern==a)return;mxAbstractCanvas2D.prototype.setDashPattern.apply(this,arguments)}var …
281state.lineJoin==a)return;mxAbstractCanvas2D.prototype.setLineJoin.apply(this,arguments)}var b=this…
282 …is.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontColor==a)retur…
283 …is.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontBackgroundColo…
284 …is.textEnabled){a==mxConstants.NONE&&(a=null);if(this.compressed){if(this.state.fontBorderColor==a…
285 ….setFontSize=function(a){if(this.textEnabled){if(this.compressed){if(this.state.fontSize==a)return…
286 …etFontFamily=function(a){if(this.textEnabled){if(this.compressed){if(this.state.fontFamily==a)retu…
287 …nction(a){if(this.textEnabled){null==a&&(a=0);if(this.compressed){if(this.state.fontStyle==a)retur…
288 mxXmlCanvas2D.prototype.setShadow=function(a){if(this.compressed){if(this.state.shadow==a)return;mx…
289 …lor=function(a){if(this.compressed){a==mxConstants.NONE&&(a=null);if(this.state.shadowColor==a)ret…
290 mxXmlCanvas2D.prototype.setShadowAlpha=function(a){if(this.compressed){if(this.state.shadowAlpha==a…
291 …ype.setShadowOffset=function(a,b){if(this.compressed){if(this.state.shadowDx==a&&this.state.shadow…
308 …,g,k,l,m,n,p,q){a=this.getAlternateText(a,b,c,d,e,f,g,k,l,m,n,p,q);d=this.state;return null!=a&&0<…
315 mxSvgCanvas2D.prototype.addNode=function(a,b){var c=this.node,d=this.state;if(null!=c){if("path"==c…
318 mxSvgCanvas2D.prototype.updateFill=function(){var a=this.state;(1>a.alpha||1>a.fillAlpha)&&this.nod…
319 …rn Math.max(this.minStrokeWidth,Math.max(.01,this.format(this.state.strokeWidth*this.state.scale))…
320 mxSvgCanvas2D.prototype.updateStroke=function(){var a=this.state;this.node.setAttribute("stroke",St…
321 mxSvgCanvas2D.prototype.updateStrokeAttributes=function(){var a=this.state;null!=a.lineJoin&&"miter…
322 …DashPattern=function(a){var b=[];if("string"===typeof this.state.dashPattern){var c=this.state.das…
324 mxSvgCanvas2D.prototype.createShadow=function(a){a=a.cloneNode(!0);var b=this.state;"none"==a.getAt…
326 mxSvgCanvas2D.prototype.rotate=function(a,b,c,d,e){if(0!=a||b||c){var f=this.state;d+=f.dx;e+=f.dy;…
327 …lement("path")};mxSvgCanvas2D.prototype.rect=function(a,b,c,d){var e=this.state,f=this.createEleme…
328 …is.state.scale));0<f&&this.node.setAttribute("ry",this.format(f*this.state.scale))};mxSvgCanvas2D.…
329 …verter.convert(e);f=null!=f?f:!0;g=null!=g?g:!1;k=null!=k?k:!1;var l=this.state;a+=l.dx;b+=l.dy;va…
330 …pha||1>l.fillAlpha)&&m.setAttribute("opacity",l.alpha*l.fillAlpha);e=this.state.transform||"";if(g…
338state.scale;mxSvgCanvas2D.createCss(c+2,d,e,f,g,k,l,null!=this.state.fontBackgroundColor?this.stat…
339state.dx;b+=this.state.dy;var k=n.firstChild,l=k.firstChild,q=l.firstChild,r=(this.rotateHtml?this…
340state.fontBorderColor?"":"border-color: "+this.state.fontBorderColor+"; "));k.setAttribute("width"…
341 this.state.alpha):n.removeAttribute("opacity")}))};
345 mxSvgCanvas2D.prototype.getTextCss=function(){var a=this.state,b="display: inline-block; font-size:…
347 …,b,c,d,e,f,g,k,l,m,n,p,q,r,this.root))}else this.plainText(a+this.state.dx,b+this.state.dy,c,d,e,f…
349 mxSvgCanvas2D.prototype.plainText=function(a,b,c,d,e,f,g,k,l,m,n,p){n=null!=n?n:0;k=this.state;var …
353 mxSvgCanvas2D.prototype.updateFont=function(a){var b=this.state;a.setAttribute("fill",b.fontColor);…
355 mxSvgCanvas2D.prototype.addTextBackground=function(a,b,c,d,e,f,g,k,l){var m=this.state;if(null!=m.f…
368 …Shape.prototype.points=null;mxShape.prototype.node=null;mxShape.prototype.state=null;mxShape.proto… method in mxShape
374 …CTION_SOUTH&&b!=mxConstants.DIRECTION_NORTH&&null!=this.state&&null!=this.state.text&&this.state.t…
375 !1);null!=this.state&&null!=this.state.text&&this.state.text.isPaintBoundsInverted()&&(b=c.x,c.x=c.…
389 …ntVertexShape(a,f,g,k,l));null!=m&&null!=a.state&&null!=a.state.transform&&m.setAttribute("transfo…
399 mxShape.prototype.apply=function(a){this.state=a;this.style=a.style;if(null!=this.style){this.fill=…
461 ….redrawHtmlShapeWithCss3():(this.updateSize(this.node,null==this.state||null==this.state.view.text…
472 null!=this.state?this.state.view.textDiv:null;if(null==this.offsetWidth||null==this.offsetHeight)nu…
475state&&null!=this.state.shape?this.state.shape.getTextRotation():0};mxText.prototype.isPaintBounds…
480 …;this.updateFont(this.node);this.updateSize(this.node,null==this.state||null==this.state.view.text…
488 …e;mxUtils.setOpacity(this.node,this.opacity);var e,f=0,g=null!=this.state?this.state.view.textDiv:…
914 …tants.DIALECT_STRICTHTML:a.view.graph.dialect;a.text.style=a.style;a.text.state=a;this.initializeL…
1283 …this.panDy;null==a.getCell()&&this.isMouseDown&&b==mxEvent.MOUSE_MOVE&&(a.state=this.view.getState…
1293 …):mxEvent.consume(b.getEvent());return}}if(!this.isEventIgnored(a,b,c)){b.state=this.getEventState…
1349 …!=e?e:!0;var f=this.deltas.get(a.cell);null==f?(f={point:new mxPoint(b,c),state:a},this.deltas.put…
1350 …this.translateState(c.state,c.point.x,c.point.y)}));this.deltas.visit(mxUtils.bind(this,function(b…
1432state!=d?(e.destroy(),e=null):this.isHandlerActive(e)||(null!=e.refresh&&e.refresh(),e.redraw()));…
1460 …t)null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell…
1527 …sharedDiv=null))};function mxHandle(a,b,c,d){this.graph=a.view.graph;this.state=a;this.cursor=null…
1528 …prototype.copyStyle=function(a){this.graph.setCellStyles(a,this.state.style[a],[this.state.cell])};
1529 …id||!this.graph.isGridEnabledEvent(a.getEvent())),d));this.setPosition(this.state.getPaintBounds(),
1530state.text&&this.state.text.apply(this.state);null!=this.state.shape&&this.state.shape.apply(this.
1532 …erlayPane()));mxEvent.redirectMouseEvents(this.shape.node,this.graph,this.state);this.shape.node.s…
1533 …pe.redraw=function(){if(null!=this.shape&&null!=this.state.shape){var a=this.getPosition(this.stat…
1534 … null!=this.state.text&&this.state.text.node.parentNode==this.graph.container};mxHandle.prototype.…
1535 …nction(a){if(null!=this.state.shape){var b=this.state.getCellBounds();this.state.shape.flipH&&(a.x…
1536 ….prototype.reset=function(){this.setVisible(!0);this.state.style=this.graph.getCellStyle(this.stat…
1537state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(a,c){this.livePreview&&null!=thi… method in mxVertexHandler
1540state.view.graph;this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new mxRectan…
1541state);this.graph.isCellMovable(this.state.cell)&&!this.graph.isCellLocked(this.state.cell)&&this.…
1542 [];if(a||this.graph.isLabelMovable(this.state.cell)&&2<=this.state.width&&2<=this.state.height){var…
1543state.cell);null==a||a.relative||this.graph.isSwimlane(this.state.cell)||!this.graph.isLabelMovabl…
1544 …COLOR),this.sizers.push(this.rotationShape));this.graph.isCellLocked(this.state.cell)||(this.custo…
1545state.cell)&&this.graph.isCellRotatable(this.state.cell)&&(0>=mxGraphHandler.prototype.maxCells||t…
1547state.cell);if(0<a.length&&(this.minBounds=this.graph.view.getBounds(a),null!=this.minBounds)){var…
1549 mxVertexHandler.prototype.getSelectionColor=function(){return this.graph.isCellEditable(this.state.…
1550 …,c);d=this.createSizerShape(c,b,d);d.isHtmlAllowed()&&null!=this.state.text&&this.state.text.node.…
1551 mxEvent.redirectMouseEvents(d.node,this.graph,this.state);this.graph.isEnabled()&&d.setCursor(a);th…
1556 …LivePreviewBorder=function(){return null!=this.state.shape&&null==this.state.shape.fill&&null==thi…
1557state.cell),this.inTolerance=!0,this.childOffsetY=this.childOffsetX=0,this.index=c,this.startX=a,t…
1558state.view.graph.view.getState(b));this.selectionBorder.node.style.display=c==mxEvent.ROTATION_HAN…
1559 …ION_HANDLE&&(b=this.getRotationHandlePosition(),a=b.x-this.state.getCenterX(),b=b.y-this.state.get…
1560 …andles[mxEvent.CUSTOM_HANDLE-c].setVisible(!0),c=this.graph.getEdges(this.state.cell),this.edgeHan…
1561 …a=this.graph.cellRenderer.createShape(this.state);a.init(this.graph.view.getOverlayPane());a.scale…
1564 …is.index].active=!0,null!=this.ghostPreview?(this.ghostPreview.apply(this.state),this.ghostPreview…
1566 …er.prototype.isGhostPreview=function(){return 0<this.state.view.graph.model.getChildCount(this.sta…
1568state.x+this.state.width/2-b.x,d=this.state.y+this.state.height/2-b.y;this.currentAlpha=0!=c?180*M…
1570state.getCenterX(),this.state.getCenterY()),c=mxUtils.toRadians(this.state.style[mxConstants.STYLE…
1571state,a));g.relative||(k=this.graph.getMaximumGraphBounds(),null!=k&&null!=this.parentState&&(k=mx…
1573 …ive&&null!=this.parentState&&(this.bounds.x+=this.state.x-this.parentState.x,this.bounds.y+=this.s…
1574 …b.x;m=c.y-b.y;b=g*l-k*m-l;c=k*l+g*m-m;l=this.bounds.x-this.state.x;m=this.bounds.y-this.state.y;e=…
1575 …d(this.state.cell)||0==b&&0==c?this.childOffsetY=this.childOffsetX=0:(this.childOffsetX=this.state
1576state.clone();this.state.x=this.bounds.x;this.state.y=this.bounds.y;this.state.origin=new mxPoint(…
1577state.absoluteOffset.x=this.state.view.scale*c.x,this.state.absoluteOffset.y=this.state.view.scale…
1578 "hidden");this.state.setState(a)};
1579state.text&&null!=this.state.text.node&&null!=this.state.text.node.nextSibling||null!=this.state.s…
1580state){var c=new mxPoint(b.getGraphX(),b.getGraphY()),d=this.index;this.index=null;null==this.ghos…
1581state.style=e,this.customHandles[mxEvent.CUSTOM_HANDLE-d].positionChanged())}}else if(d==mxEvent.R…
1582state,b);this.resizeCell(this.state.cell,this.roundLength(n/q),this.roundLength(p/q),d,g,this.isCo…
1586state.control&&null!=this.state.control.node&&(this.state.control.node.style.visibility="")}if(nul…
1588 …tGeometry(a);null!=b&&(d==mxEvent.LABEL_HANDLE?(d=-mxUtils.toRadians(this.state.style[mxConstants.…
1591 …/f)*f:Math.round(q/f)*f;e=q-p;c=r-a;k&&(k=this.graph.getCellGeometry(this.state.cell),null!=k&&(k=…
1592 …type.redraw=function(a){this.selectionBounds=this.getSelectionBounds(this.state);this.bounds=new m…
1597 …e-resize s-resize sw-resize w-resize".split(" "),g=mxUtils.toRadians(this.state.style[mxConstants.…
1599 …rs[7].setCursor(f[mxUtils.mod(4+g,f.length)]);n.x=d+this.state.absoluteOffset.x;n.y=e+this.state.a…
1600state.width&&2<=this.state.height?this.moveSizerTo(this.sizers[0],d+this.state.absoluteOffset.x,e+…
1601state.view.graph.isEditing()||!this.handlesVisible?"hidden":""));null!=this.selectionBorder&&(this…
1602 …tVisible=function(){return!this.graph.isCellSelected(this.graph.model.getParent(this.state.cell))};
1603 …){var a=this.isParentHighlightVisible(),b=this.graph.model.getParent(this.state.cell),c=this.graph…
1605 …th.max(0,this.preview.bounds.height-1)),this.preview.rotation=Number(this.state.style[mxConstants.…
1607state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.preview&&(…
1609state=a,this.init(),this.escapeHandler=mxUtils.bind(this,function(b,c){var d=null!=this.index;this… method in mxEdgeHandler
1612state.view.graph;this.marker=this.createMarker();this.constraintHandler=new mxConstraintHandler(th…
1613state);this.graph.isCellMovable(this.state.cell)&&this.shape.setCursor(mxConstants.CURSOR_MOVABLE_…
1614state.cell)&&(this.graph.getSelectionCount()<mxGraphHandler.prototype.maxCells||0>=mxGraphHandler.…
1616state.style[mxConstants.STYLE_EDGE]||this.state.style[mxConstants.STYLE_EDGE]==mxConstants.NONE||1…
1618state.shape.constructor;a.outline=!0;a.apply(this.state);a.isDashed=this.isSelectionDashed();a.str…
1620 …nction(a){var c=mxCellMarker.prototype.getCell.apply(this,arguments);c!=b.state.cell&&null!=c||nul…
1621state.cell||null!=c&&!b.graph.connectableEdges&&e.isEdge(c)||e.isAncestor(b.state.cell,c))c=null;t…
1622 …pe.validateConnection=function(a,b){return this.graph.getEdgeValidationError(this.state.cell,a,b)};
1623state.cell,b=[],c=0;c<this.abspoints.length;c++)if(this.isHandleVisible(c)){var d=c==this.abspoint…
1624 ….createVirtualBends=function(){var a=[];if(this.graph.isCellBendable(this.state.cell))for(var b=1;…
1625state.getVisibleTerminalState(!0),c=this.state.getVisibleTerminalState(!1),d=this.graph.getCellGeo…
1628 …w().getOverlayPane()));mxEvent.redirectMouseEvents(a.node,this.graph,this.state,null,null,null,b);…
1629 mxEdgeHandler.prototype.getHandleForEvent=function(a){var b=null;if(null!=this.state){var c=functio…
1630 …customHandles[d].shape))return mxEvent.CUSTOM_HANDLE-d;if(a.isSource(this.state.text)||c(this.labe…
1632state.cell)){var c=this.getHandleForEvent(b);if(null!=this.bends&&null!=this.bends[c]){var d=this.…
1634 …sLabel=c==mxEvent.LABEL_HANDLE;if(this.isSource||this.isTarget){if(a=this.state.cell,b=this.graph.…
1635 …(!1)};mxEdgeHandler.prototype.clonePreviewState=function(a,b){return this.state.clone()};mxEdgeHan…
1637 …<e&&(d.x=b,f=!0);a=a.y;Math.abs(d.y-a)<e&&(d.y=a,g=!0)}};k.call(this,this.state.getVisibleTerminal…
1638state.getVisibleTerminalState(!1));k=this.state.absolutePoints;if(null!=k)for(var m=0;m<k.length;m…
1639 …n null!=this.marker.highlight&&null!=this.marker.highlight.state&&this.marker.highlight.state.cell…
1640 …etModel(),a=this.graph.view.getTerminalPort(this.state,this.graph.view.getState(a.getTerminal(this…
1642 mxEdgeHandler.prototype.getPreviewPoints=function(a,b){var c=this.graph.getCellGeometry(this.state.…
1643state.absolutePoints.slice();g[this.index]=a;var k=this.state.getVisibleTerminalState(!0);if(null!…
1644 …w.getRoutingCenterY(k))}k=this.state.getVisibleTerminalState(!1);null!=k&&(l=this.graph.getConnect…
1647 …nction(a,b,c,d,e){var f=this.isSource?c:this.state.getVisibleTerminalState(!0),g=this.isTarget?c:t…
1652 …constraintHandler.currentFocus&&this.constraintHandler.currentFocus!=this.state&&(Math.abs(this.sn…
1654 …|this.isTarget?this.isOutlineConnectEvent(b):!1;d?c=this.marker.highlight.state:null!=c&&c!=b.getS…
1657 …ape&&null!=this.shape.node&&(this.shape.node.style.display="");var c=this.state.cell,d=this.index;…
1658 …de&&(this.shape.apply(this.state),this.shape.redraw())}finally{f.endUpdate()}}}else if(this.isLabe…
1661state.cell),this.graph.getView().validate(this.state.cell))}else this.graph.isToggleEvent(b.getEve…
1664 …d.y);c=this.graph.getView().getState(this.graph.getModel().getParent(this.state.cell));null!=c&&(a…
1670 …ew.scale;var e=new mxPoint(e.x*c,e.y*c),f=this.graph.model.getParent(this.state.cell);this.graph.m…
1671 …{if(0<b&&b<this.abspoints.length-1){var c=this.graph.getCellGeometry(this.state.cell);null!=c&&nul…
1672 mxEdgeHandler.prototype.getHandleFillColor=function(a){a=0==a;var b=this.state.cell,c=this.graph.ge…
1673 …ction(a){if(null!=this.state){this.abspoints=this.state.absolutePoints.slice();var b=this.graph.ge…
1674state.cell,b=this.labelShape.bounds;this.label=new mxPoint(this.state.absoluteOffset.x,this.state.…
1678 ….isCustomHandleVisible=function(a){return!this.graph.isEditing()&&1==this.state.view.graph.getSele…
1682 …his.abspoints)||(this.shape.apply(this.state),this.shape.points=this.abspoints.slice(),this.shape.…
1684 …Handler.prototype.refresh=function(){null!=this.state&&(this.abspoints=this.getSelectionPoints(thi…
1686state.view.graph.removeListener(this.escapeHandler),this.escapeHandler=null);null!=this.marker&&(t…
1689 …on(a){!mxEvent.isConsumed(a)&&this.flipEnabled&&(this.graph.flipEdge(this.state.cell,a),mxEvent.co…
1690 …(b,a);b.setCursor(this.getCursorForBend());this.graph.isCellBendable(this.state.cell)||(b.node.sty…
1691state.style[mxConstants.STYLE_EDGE]==mxEdgeStyle.TopToBottom||this.state.style[mxConstants.STYLE_E…
1693 …s.graph.getView().getScale(),d=this.graph.getView().getTranslate(),e=this.state.origin;b&&(a.x=thi…
1694state.cell),d=this.state.absolutePoints,e=null;1<d.length?(a=d[1],b=d[d.length-2]):null!=c.points&…
1697 mxEdgeSegmentHandler.prototype.getCurrentPoints=function(){var a=this.state.absolutePoints;if(null!…
1698 …(c.y=a.y,f.y=a.y));e<b.length-1&&d.push(f);c=f}if(1==d.length){var b=this.state.getVisibleTerminal…
1699 c=this.state.getVisibleTerminalState(!1),f=this.state.view.getScale(),g=this.state.view.getTranslat…
1700 …push(this.convertPoint(g.clone(),!1));f=g;g=m}f=this.state.getVisibleTerminalState(!0);g=this.stat…
1701 l=this.state.absolutePoints;if(0==k.length&&(0==Math.round(e[0].x-e[e.length-1].x)||0==Math.round(e…
1705 …a.push(b);var c=this.getCurrentPoints();if(this.graph.isCellBendable(this.state.cell)){null==this.…
1707 …rototype.redrawInnerBends=function(a,b){if(this.graph.isCellBendable(this.state.cell)){var c=this.…
1717 …reset(b,!0);var c=this.getStateForEvent(b);(this.isHideOnHover()||c!=this.state||b.getSource()!=th…
1720 this.graph.getTooltip(c,d,e,f);this.show(a,e,f);this.state=c;this.node=d;this.stateSource=g}}),this…
1724 …nd(this,function(){if(null!=this.state){var a=this.graph.view.getState(this.state.cell);null==a?th…
1725 …t.prototype.keepOnTop=!1;mxCellHighlight.prototype.graph=null;mxCellHighlight.prototype.state=null; method in mxCellHighlight
1727state);a.svgStrokeTolerance=this.graph.tolerance;a.points=this.state.absolutePoints;a.apply(this.s…
1729state&&null!=this.shape&&(this.shape.scale=this.state.view.scale,this.graph.model.isEdge(this.stat…
1730state.view.scale,this.shape.outline=!0),null!=this.state.shape&&this.shape.setCursor(this.state.sh…