Lines Matching refs:getParent

453 …nForCell=function(a){var b=null;if(null!=a){var c=this.graph.getModel().getParent(a);a=this.graph.…
744 …,b,c){if(!c)return this.graph.model.getParent(b)==a;if(b==a)return!1;for(;null!=b&&b!=a;)b=this.gr…
746 …ent,a))for(var d=c.getGeometry(a);a!=this.parent;)b.x+=d.x,b.y+=d.y,a=c.getParent(a),d=c.getGeomet…
747 ….setRelative(!0)):d=d.clone();if(null!=this.parent&&null!=b)for(var e=c.getParent(a),e=this.getPar…
748 …ingBox.y<g.y&&(c+=(g.y-l.y)/k,f.height=l.height)}}null!=this.parent&&(g=d.getParent(a),null!=g&&g!=
750 …ath.max(e.y+e.height-(c.y+c.height),0)/d)}null!=this.parent&&(a=this.graph.getModel().getParent(a),
755 mxStackLayout.prototype.moveCell=function(a,b,c){var d=this.graph.getModel(),e=d.getParent(a),f=thi…
766 mxPartitionLayout.prototype.moveCell=function(a,b,c){c=this.graph.getModel();var d=c.getParent(a);i…
773 …t=a;var c=this.graph.getModel();if(null==b)if(0<this.graph.getEdges(a,c.getParent(a),this.invert,!…
789 …ovable(d)&&(e=this.setVertexLocation(d,a.x,a.y),this.resizeParent&&(c=c.getParent(d),d=mxCellPath.…
850 …(b[f],c[f]);c[f].swimlaneIndex=-1;for(var g=0;g<e.length;g++)if(d.model.getParent(b[f])==e[g]){c[f…
901 …x,t=f[4*e+t],y=k.model.getTerminal(n,!0);this.layout.isPort(y)&&k.model.getParent(y)==p&&(t=k.view…
903 …),p=this.layout.getVisibleTerminal(n,!1),this.layout.isPort(r)&&k.model.getParent(r)==p&&(t=k.view…
917 ….getVisibleTerminal(a,b));null!=e&&(this.isPort(e)&&(e=this.graph.model.getParent(e)),c.put(a,e));…
928 …rgetTermCache=new mxDictionary;if(!(null==b||1>b.length)){null==a&&(a=c.getParent(b[0]));this.pare…
936 ….getVisibleTerminal(a,b));null!=e&&(this.isPort(e)&&(e=this.graph.model.getParent(e)),c.put(a,e));…
939 …s=function(a,b){var c=this.graph.model;c.isVertex(a)&&a!=this.parent&&c.getParent(a)!=this.parent&…
946 …Root=function(a){var b=a||this.root;if(null!=a)for(;null!=a;)b=a,a=this.getParent(a);return b};mxG…
947 …a){return this.isRoot(this.getParent(a))};mxGraphModel.prototype.isAncestor=function(a,b){for(;nul…
948getParent=function(a){return null!=a?a.getParent():null};mxGraphModel.prototype.add=function(a,b,c… method in mxGraphModel
951getParent(c);for(;null!=d&&this.ignoreRelativeEdgeParent&&!this.isEdge(d)&&null!=d.geometry&&d.geo…
952getParent(a)),f=this.getOrigin(c),g=f.x-e.x,e=f.y-e.y,d=d.clone();d.translate(-g,-e);this.setGeome…
953getParent(d);if(0==c.indexOf(e+mxCellPath.PATH_SEPARATOR)&&null!=f)return d;e=mxCellPath.getParent…
954 …;mxGraphModel.prototype.parentForCellChanged=function(a,b,c){var d=this.getParent(a);null!=b?b==d&…
963 …0;d<a.length;d++){for(var e=a[d],f=!0,g=this.getParent(e);null!=g;){if(b.get(g)){f=!1;break}g=this…
972 …[];if(null!=a)for(var c=new mxDictionary,d=0;d<a.length;d++){var e=this.getParent(a[d]);null==e||c…
976 mxChildChange.prototype.execute=function(){if(null!=this.child){var a=this.model.getParent(this.chi…
986 mxCell.prototype.getParent=function(){return this.parent};mxCell.prototype.setParent=function(a){th… method in mxCell
987 …otype.insert=function(a,b){null!=a&&(null==b&&(b=this.getChildCount(),a.getParent()==this&&b--),a.…
1002 …a){var b="";if(null!=a)for(var c=a.getParent();null!=c;)b=c.getIndex(a)+mxCellPath.PATH_SEPARATOR+…
1114 …ape;if(null!=d){var e=a.view.graph,f=d[b],g=null;"inherit"==f?g=e.model.getParent(a.cell):"swimlan…
1209 …c.cell),c.invalidStyle=!1;a!=this.currentRoot&&this.validateCellState(d.getParent(a),!1);c.setVisi…
1211 …a.cell!=this.currentRoot){var b=this.graph.getModel(),c=this.getState(b.getParent(a.cell));null!=c…
1214 …VertexState=function(a,b){var c=this.graph.getModel(),d=this.getState(c.getParent(a.cell));if(b.re…
1234 …h.isCellVisible(e)||this.isCellCollapsed(d))e=d;d=c.getParent(d)}null==e||c.contains(e)&&c.getPare…
1259 …w.currentRoot,d=this.view.graph.getModel();null!=c;){if(c==b){this.isUp=!0;break}c=d.getParent(c)}}
1280 …del.getParent(a[c]);null!=d&&d!=this.view.currentRoot;){if(this.isCellCollapsed(d)||!this.isCellVi…
1281 …ect(mxEvent.ROOT));else if(a instanceof mxChildChange){var b=this.model.getParent(a.child);this.vi…
1292 …ent(b)&&mxEvent.isAltDown(b)))){d=c;for(a=[];null!=d;){var d=this.model.getParent(d),f=this.view.g…
1293 mxGraph.prototype.isSiblingSelected=function(a){for(var b=this.model,c=b.getParent(a),d=b.getChildC…
1314 ….model.getParent(a);for(var b=new mxPoint;null!=a;){var c=this.getCellGeometry(a);null==c||c.relat…
1321 …is.model.beginUpdate();try{for(var d=0;d<a.length;d++){var e=this.model.getParent(a[d]);b?c?this.m…
1322 …Group(a,c,b);if(1<c.length&&null!=d){var e=this.model.getParent(a);null==e&&(e=this.model.getParen…
1323 …null!=a&&0<a.length){var c=this.model.getParent(a[0]);b.push(a[0]);for(var d=1;d<a.length;d++)this…
1325 ….getChildren(a[c]);if(null!=d&&0<d.length){var d=d.slice(),e=this.model.getParent(a[c]),f=this.mod…
1332getParent(a[g]));if(null!=n&&null!=p)if(c=d?0:p.origin.x,p=d?0:p.origin.y,this.model.isEdge(e[g]))…
1336 …mxPoint(0,0),l=0;l<a.length;l++)if(null==a[l])c--;else{var p=this.model.getParent(a[l]);if(null!=m…
1341 …getTerminal(d,f),l=!1,m=k;null!=m;){if(a[e]==m){l=!0;break}m=this.model.getParent(m)}l&&(g=g.clone…
1343 …plitEdge=function(a,b,c,d,e,f,g,k){d=d||0;e=e||0;k=null!=k?k:this.model.getParent(a);f=this.model.…
1363 …mxGraph.prototype.extendParent=function(a){if(null!=a){var b=this.model.getParent(a),c=this.getCel…
1365 …))return!0;a=this.model.getParent(a)}return!1}),p=[],m=0;m<a.length;m++){var q=this.getCellGeometr…
1367 !0);if(d)for(m=0;m<a.length;m++)q=this.getCellGeometry(a[m]),r=this.model.getParent(k[m]),null!=q&&…
1369 …arseFloat(d.y)));if(d.relative&&!this.model.isEdge(a)){var e=this.model.getParent(a),f=0;this.mode…
1371 …entArea=function(a){if(null!=a&&!this.model.isEdge(a)){var b=this.model.getParent(a);if(null!=b&&b…
1373 …=c&&(this.isConstrainRelativeChildren()||!c.relative)){var d=this.model.getParent(a);this.getCellG…
1392 …null!=f){var g=this.view.getState(a[e]),k=this.view.getState(this.model.getParent(a[e]));if(null!=…
1393getParent(p);null==p&&(f.setTerminalPoint(new mxPoint(n[0].x/b-c.x+l,n[0].y/b-c.y+m),!0),this.mode…
1394 …1};mxGraph.prototype.getTerminalForPort=function(a,b){return this.model.getParent(a)};mxGraph.prot…
1395 …ar c=this.model.getParent(b);c!=a&&!this.isValidRoot(c)&&this.model.getParent(c)!=a;)c=this.model.
1398 new mxRectangle(e[0].x,e[0].y,0,0),k=1;k<e.length;k++)f(e[k]);f=g}else k=this.model.getParent(a[d])…
1424 …Error(a)||"");e=this.validateCell(a,b);null!=e&&(d+=e);null==this.model.getParent(a)&&this.view.va…
1437 mxGraph.prototype.isSwimlane=function(a,b){return null==a||this.model.getParent(a)==this.model.getR…
1456 …ction(a){return this.isConstrainChildren()&&!this.getModel().isEdge(this.getModel().getParent(a))};
1461getParent(e);null!=f&&this.isSwimlane(f)&&f!=c;)f=this.model.getParent(f);f==c&&(c=e)}for(;null!=c…
1462getParent(g);return this.model.isLayer(c)||null!=g?null:c};mxGraph.prototype.getDefaultParent=func…
1469 …pe.isValidAncestor=function(a,b,c){return c?this.model.isAncestor(b,a):this.model.getParent(a)==b};
1480 …th?d.cells[0]:null;1<d.cells.length&&d.clear();var d=null!=e?this.model.getParent(e):this.getDefau…
1482 …hildCount(c))&&this.model.isVertex(c)&&a&&!this.model.isEdge(this.model.getParent(c))||this.model.…
1534 …d=this.getGraph().getModel(),e=0;e<a.length;e++){var f=this.getLayout(d.getParent(a[e]),mxEvent.MO…
1535 …d=this.getGraph().getModel(),e=0;e<a.length;e++){var f=this.getLayout(d.getParent(a[e]),mxEvent.RE…
1537 …ling())){var c=this.getGraph().getModel();this.addAncestorsWithLayout(c.getParent(a),b)}return b};…
1545 …type.swimlaneAdded=function(a){for(var b=this.getGraph().getModel(),c=b.getParent(a),d=b.getChildC…
1546 …=new mxRectangle(0,0,d.width,d.height),f=a[c],g=f;null!=g;){var f=g,g=b.getParent(g),k=this.graph.…
1556 …llState(a);var f=this.graph.getCellGeometry(a.cell),g=a.view.getState(e.getParent(a.cell));0==b&&0…
1566 mxGraphHandler.prototype.isPropagateSelectionCell=function(a,b,c){var d=this.graph.model.getParent(…
1567getParent(b.cell));null!=d&&!this.graph.isCellSelected(d.cell)&&(c.isVertex(d.cell)||c.isEdge(d.ce…
1568 …(a))return this.graph.cellEditor.getEditingCell()!=a;a=this.graph.model.getParent(a)}return this.g…
1570getParent(a);null!=this.graph.view.getState(d)&&(c.isVertex(d)||c.isEdge(d)&&!this.graph.isToggleE…
1579getParent(a),f=2>this.graph.model.getChildCount(e),g=new mxDictionary;a=this.graph.getOpposites(th…
1582 …Handler.prototype.isValidDropTarget=function(a,b){return this.graph.model.getParent(this.cell)!=a};
1602 …e,f){d&&(a=this.graph.getCloneableCells(a));var g=this.graph.getModel().getParent(this.cell);null=…
1603 this.graph.model.getParent(a[l]);null==m||k.get(m)||(k.put(m,!0),g.push(m))}}a=this.graph.moveCells…
1649 …(null!=c&&!this.graph.isCellConnectable(c)){var d=this.graph.getModel().getParent(c);this.graph.ge…
1693getParent(a)==e.getParent(b)&&e.getParent(e.getParent(a))!=e.getRoot()&&(m=e.getParent(a),null!=a.…
1694getParent(a);if(this.isInsertBefore(g,a,b,c,d)){for(l=a;null!=l.parent&&null!=l.geometry&&l.geomet…
1698 …s.graph.getCellGeometry(b);null!=c&&c.relative;)b=this.graph.getModel().getParent(b),c=this.graph.…
1708 …(null!=c&&!this.graph.isCellConnectable(c)){var d=this.graph.getModel().getParent(c);this.graph.ge…
1761 …review=this.createGhostPreview();else{a=this.state.view.graph.model;b=a.getParent(this.state.cell)…
1806 …ghtVisible=function(){return!this.graph.isCellSelected(this.graph.model.getParent(this.state.cell)…
1807 …isDestroyed()){var a=this.isParentHighlightVisible(),b=this.graph.model.getParent(this.state.cell)…
1811 …his.preview=null);if(null!=this.parentHighlight){var a=this.graph.model.getParent(this.state.cell)…
1824 …(null!=c&&!this.graph.isCellConnectable(c)){var e=this.graph.getModel().getParent(c);this.graph.ge…
1863 …d=this.marker.validState.cell),null!=d){var f=this.graph.getModel(),g=f.getParent(c);f.beginUpdate…
1864 …view.translate.y),k=this.graph.getView().getState(this.graph.getModel().getParent(c)),null!=k&&(f.…
1868 ….round(a.y/c-d.y);c=this.graph.getView().getState(this.graph.getModel().getParent(this.state.cell)…
1870 …Handler.prototype.connect=function(a,b,c,d,e){d=this.graph.getModel();d.getParent(a);d.beginUpdate…
1871 …(a,b,c,d){var e=this.graph.getModel();e.beginUpdate();try{if(d){var f=e.getParent(a),g=e.getTermin…
1872 …on(a,b,c){var d=this.graph.getModel();d.beginUpdate();try{if(c){var e=d.getParent(a),f=d.getTermin…
1874 …this.graph.view.scale;var e=new mxPoint(e.x*c,e.y*c),f=this.graph.model.getParent(this.state.cell)…
1890 …,this.shape=null);if(null!=this.parentHighlight){var a=this.graph.model.getParent(this.state.cell)…
1961 …ull;for(c=c.firstChild;null!=c;){var f=a.decodeCell(c);null!=f&&null==f.getParent()&&(b=f);c=c.nex…
1969 …encodeCell=function(a,c,d){var b=c.graph.getModel(),f=c.getState(d),g=b.getParent(d);if(null==g||n…
2133getParent(b);if(d)c=this.graph.model.isEdge(b)?null:this.graph.getCellGeometry(b),c=!this.graph.mo…
2134getParent(b),c=this.graph.view.getState(f),e=this.graph.isCellSelected(b);null!=c&&(d.isVertex(f)|…
2169 for(g.consume();null!=m&&b.model.isVertex(m)&&null!=f&&f.relative;)cell=m,m=b.model.getParent(cell)…
2192 …]);null!=v&&v.relative&&!g.isEdge(e[k])&&null==f[mxObjectIdentity.get(g.getParent(e[k]))]&&(v.offs…
2253 …get("removeFromGroup").setEnabled(k&&b.getModel().isVertex(b.getModel().getParent(p[0])));b.view.g…
2275 …mxDictionary,k=[],g=0;g<c.length;g++){var p=b.isTableCell(c[g])?b.model.getParent(c[g]):c[g];null=…
2298 k.getSelectionCell(),e=k.model.getParent(c),l=k.getView().scale;f=null;1==k.getSelectionCount()&&k.…
2321 …g.cell)&&!this.isCellSelected(g.cell)){var v=this.model.getParent(g.cell),m=this.model.getParent(v…
2323 …GraphX(),e.getGraphY(),u),e.consume())),g=this.view.getState(this.model.getParent(g.cell))}}}));th…
2329 …Tolerance/2);if(this.isTableCell(e.cell)&&(n=this.model.getParent(e.cell),m=this.model.getParent(n…
2331 "row-resize")}n=this.view.getState(this.model.getParent(n.cell))}}null!=k&&e.setCursor(k)}}),mouseU…
2335getParent(d[e]):this.graph.isTableRow(b)&&this.graph.isTableRow(d[e])&&this.graph.isCellSelected(d…
2343 "locked","0"))return!0;b=this.model.getParent(b)}return!1};var O=null;this.addListener(mxEvent.FIRE…
2344 ….cell)||f.isTableRow(b.cell)&&f.selectionCellsHandler.isHandled(f.model.getParent(b.cell)))};this.…
2376getParent(b),d=this.getCellGeometry(b);return b};Graph.prototype.isPart=function(b){return"1"==mxU…
2388 …yout};this.layoutManager.getLayout=function(b,c){var e=this.graph.model.getParent(b);if(c!=mxEvent…
2405 …ion(b){do{var c=this.getLinkForCell(b);if(null!=c)return c;b=this.model.getParent(b)}while(null!=b…
2411 …r c=null;if(0<b.length){for(c=b[0];!this.model.isLayer(c);)c=this.model.getParent(c);for(var e=1;e…
2416 …ute(d)?null!=f.getAttribute(d)?f.getAttribute(d):"":null)),f=this.model.getParent(f);null==t&&(t=t…
2417 …ll;null!=this.layoutManager&&(c=this.layoutManager.getLayout(this.model.getParent(b)));return this…
2419 ….width+e),q.y+=l.geometry.height/2);var m=this.view.getState(this.model.getParent(b));e=this.view.…
2420 ….isAncestor(b,p[y])&&this.isContainer(p[y])&&(null==u||p[y]==this.model.getParent(b)))u=p[y];else …
2422 !1)[0];null!=e&&this.addCells([B],this.model.getParent(b),null,null,null,!0);var l=this.getCellGeom…
2423getParent(b),null,"",b,B,this.createCurrentEdgeStyle());if(null!=m&&this.connectionHandler.insertB…
2426 …bute(c)?null!=k.getAttribute(c)?k.getAttribute(c):"":null),k=this.model.getParent(k);else e=null,G…
2428 …(this,arguments);if(null!=b&&null!=this.layoutManager){var e=this.model.getParent(b);this.model.is…
2429 …&null!=c.alternateBounds){var k=this.layoutManager.getLayout(this.model.getParent(b));null!=k&&k.c…
2430 …ound(d.height-t.height/this.view.scale);if(0!=l||0!=f){var q=this.model.getParent(e[p]),m=this.lay…
2434 p));b=this.model.getParent(b);c=this.layoutManager.getLayout(b)}}finally{this.model.endUpdate()}}};…
2467 ….cell)&&(c=this.graph.selectionCellsHandler.getHandler(this.graph.model.getParent(this.currentStat…
2474 …ertex(b)&&!this.graph.isCellConnectable(b)){var c=this.graph.getModel().getParent(b);this.graph.ge…
2483 …leRow(this.model.getParent(b))};Graph.prototype.isTableRow=function(b){return this.model.isVertex(…
2484 …ype.isStackChild=function(b){return this.model.isVertex(b)&&this.isStack(this.model.getParent(b))};
2485 …metry(b);if(null!=g){g=g.clone();g.height+=c;k.setGeometry(b,g);var p=k.getParent(b),t=k.getChildC…
2487 …Width=function(b,c,e){e=null!=e?e:!1;var k=this.getModel(),g=k.getParent(b),p=k.getParent(g),t=k.g…
2531 …);null!=m&&m.relative&&!this.model.isEdge(b[e])&&null==c.get(this.model.getParent(b[e]))&&(m.offse…
2532getParent(b)!=this.model.getRoot()&&!this.model.isEdge(b)){var f=this.getCurrentCellStyle(b,d)[mxC…
2533 …ph.prototype.splitEdge=function(b,d,c,e,g,l,k,q){null==q&&(q=this.model.getParent(b),this.isTable(…
2538 …(m=0;m<b.length;m++)if(null!=e&&this.isTableRow(b[m])){var n=this.model.getParent(b[m]),H=this.get…
2540 …b.length;c++)if(this.isTableCell(b[c])){var e=this.model.getParent(b[c]),g=this.model.getParent(e)…
2541 …this.labelChanged(b[c],"")}else{if(this.isTableRow(b[c])&&(g=this.model.getParent(b[c]),0>mxUtils.…
2546 …is,arguments);if(d&&null!=b&&null!=this.layoutManager){var f=this.model.getParent(b);null!=f&&(f=t…
2551 …var d=b.cell;this.isTableCell(d)&&(d=this.model.getParent(d));this.isTableRow(d)&&(d=this.model.ge…
2555 e.hasAttribute(c)){this.setAttributeForCell(e,c,d);break}e=this.model.getParent(e)}var g=b.value.cl…
2556 [],f=0;f<b.length;f++){var e=this.model.getParent(b[f]);null==e||d.get(e)||(d.put(e,!0),c.push(e))}…
2559getParent(b[e]);if(this.model.isEdge(g)&&0>mxUtils.indexOf(b,g))return null}for(var g=u.apply(this…
2573getParent(b[f]));b=this.model.getTopmostCells(b);var c=this.getModel(),e=this.gridSize,g=[];c.begi…
2578 …length-1),c=e,g=1;g<f.length-1;g++){var q=this.view.getState(this.model.getParent(f[g].cell)),n=th…
2586 …lected(b.cell),e=f.model.getParent(b.cell);!(g&&null==A||c)&&null!=e;)c=null!=A?A.get(e):f.isCellS…
2592 …is.model.beginUpdate();try{for(var c=0;c<b.length;c++){var e=this.model.getParent(b[c]);if(this.is…
2593 …TableCell(b))var g=f.getParent(b),c=f.getParent(g),e=mxUtils.indexOf(f.getChildCells(g,!0),b);else…
2594 …var f=null,f="stackLayout"==this.getCurrentCellStyle(b).childLayout?b:d.getParent(b),c=d.getChildC…
2595getParent(e);var l=c.getIndex(e),e=f.cloneCell(e,!1);e.value=null;f.add(c,e,l+(d?0:1))}finally{f.e…
2597 …nUpdate();try{var f=b,c=b;this.isTableCell(b)&&(c=d.getParent(b));this.isTableRow(c)&&(f=d.getPare…
2598 …pdate();try{var f=b,c=b;this.isTableCell(b)&&(b=c=d.getParent(b));this.isTableRow(b)&&(f=d.getPare…
2611 …onState=null;this.graph.setSelectionCell(b);var f=this.graph.getModel().getParent(b),c=this.graph.…
2629 …is.graph.getCellStyle(b);if(null==f.childLayout){var c=this.graph.model.getParent(b),e=null!=c?thi…
2630 …model,e=[],g=0;g<d.length;g++){var l=d[g];this.graph.isTableCell(l)?b(c.getParent(c.getParent(l))):
2631 this.graph.isTableRow(l)&&b(c.getParent(l));b(l)}return e};var K=mxVertexHandler.prototype.createPa…
2634 …his.state.cell)?this.graph.view.getState(this.graph.model.getParent(this.graph.model.getParent(thi…
2672 …ox=function(b){if(null!=b&&1==b.length){var d=this.graph.getModel(),f=d.getParent(b[0]),c=this.gra…
2674getParent(b.cell),c=this.graph.getCellGeometry(b.cell);return d.isEdge(f)&&null!=c&&c.relative&&2>…
2879 c=d.model.getParent(b.cell),c=d.model.getChildCells(c,!0),e=[],g=0;g<c.length;g++)c[g]!=b.cell&&d.i…
3004 …,c=c.y,b=g.getModel().getParent(b),u=g.getCellGeometry(b);g.getModel().isVertex(b)&&null!=u;)n+=u.…
3131 c.isVertex(c.getParent(b.vertices[0])):!1}},{name:"editable",dispName:"Editable",type:"bool",defVal…
3209 …splayIdForCell=function(b,d){var c=null;null!=b.editor.graph.getModel().getParent(d)?c=d.getId():n…
3309 …ength;m++)0<b[m].length&&(l[b[m]]=!0,g++);for(m=0;m<d.length;m++)if(c&&this.model.getParent(d[m])==