Lines Matching refs:setAttribute

6 e.setAttribute("rel",a);e.setAttribute("href",b);e.setAttribute("charset","UTF-8");e.setAttribute("…
10setAttribute("width","100%");b.setAttribute("height","100%");var c=document.createElement("tbody")…
11setAttribute("readOnly","true");mxLog.textarea.style.height="100%";mxLog.textarea.style.resize="no…
37 …ibutes&&0<b.attributes.length)for(var e=0;e<b.attributes.length;e++)d.setAttribute(b.attributes[e]…
42 a.setAttribute("xmlns",a.namespaceURI)),a.nodeType==mxConstants.NODETYPE_DOCUMENT)f.push(mxUtils.ge…
73 …Image:function(a){var b;b=document.createElement("img");b.setAttribute("src",a);b.setAttribute("bo…
88 …ld(e);null!=d&&(d.style.minWidth="",d.style.minHeight="",d.firstChild.setAttribute("transform","tr…
90 …eateElement("div");e.style.padding="20px";var f=document.createElement("img");f.setAttribute("src",
91 d||mxUtils.errorImage);f.setAttribute("valign","bottom");f.style.verticalAlign="middle";e.appendChi…
92 c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("sty…
139 …r d=a.createElement("form");d.setAttribute("method",this.method);d.setAttribute("action",this.url)…
140 …odeURIComponent(g));var l=a.createElement("textarea");l.setAttribute("wrap","off");l.setAttribute(…
152 …s.resize.style.bottom="2px";this.resize.style.right="2px";this.resize.setAttribute("src",this.resi…
157setAttribute("src",this.minimizeImage),this.minimizeImg.setAttribute("title","Minimize"),this.cont…
158 this.normalizeImage);this.minimizeImg.setAttribute("title","Normalize");this.contentWrapper.style.d…
160 …ent.createElement("img");this.minimizeImg.setAttribute("src",this.minimizeImage);this.minimizeImg.
162 …document.createElement("img");this.maximize.setAttribute("src",this.maximizeImage);this.maximize.s…
163 !1;this.maximize.setAttribute("src",this.maximizeImage);this.maximize.setAttribute("title","Maximiz…
164 …MALIZE,"event",g))}else{a=!0;this.maximize.setAttribute("src",this.normalizeImage);this.maximize.s…
169 …=document.createElement("img");this.closeImg.setAttribute("src",this.closeImage);this.closeImg.set…
170 …){this.image=document.createElement("img");this.image.setAttribute("src",a);this.image.setAttribut…
175setAttribute("type",c||"text");d.value=b;return this.addField(a,d)};mxForm.prototype.addCheckbox=f…
176setAttribute("size",c);b&&d.setAttribute("multiple","true");return this.addField(a,d)};mxForm.prot…
200setAttribute("src",b);null!=a&&(null!=b?g.setAttribute("title",a):mxUtils.write(g,a));this.contain…
201 mxUtils.bind(this,function(a){null!=d?g.setAttribute("src",d):g.style.backgroundColor="gray";if(nul…
203 …ement("option");mxUtils.writeln(d,b);"function"==typeof c?d.funct=c:d.setAttribute("value",c);a.ap…
204setAttribute("src",b);f.altIcon=d;null!=a&&f.setAttribute("title",a);mxEvent.addListener(f,"click"…
205 …selectedMode=f;a=f.altIcon;null!=a?(f.altIcon=f.getAttribute("src"),f.setAttribute("src",a)):f.cla…
206 …mxToolbarMode";g.className=g.initialClassName;g.setAttribute("src",b);g.altIcon=d;null!=a&&g.setAt…
208setAttribute("src",c)):this.selectedMode.className=this.selectedMode.initialClassName}this.selecte…
210 …tion(){var a=document.createElement("hr");a.style.marginRight="6px";a.setAttribute("size","1");thi…
234 …ndex;a.div.appendChild(a.table);var b=document.createElement("img");b.setAttribute("src",this.subm…
237 …t("td");d.style.padding="0 0 0 0px";d.setAttribute("colSpan","2");var e=document.createElement("hr…
269setAttribute("family",mxConstants.DEFAULT_FONTFAMILY);this.root.appendChild(a);a=this.createElemen…
270 a=this.createElement("shadowoffset");a.setAttribute("dx",mxConstants.SHADOW_OFFSET_X);a.setAttribut…
271setAttribute("scale",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.translate=function(a,b){…
272setAttribute("theta",this.format(a)),f.setAttribute("flipH",b?"1":"0"),f.setAttribute("flipV",c?"1…
273setAttribute("alpha",this.format(a));this.root.appendChild(b)};mxXmlCanvas2D.prototype.setFillAlph…
274 …Alpha.apply(this,arguments)}var b=this.createElement("strokealpha");b.setAttribute("alpha",this.fo…
275 …llColor.apply(this,arguments)}var b=this.createElement("fillcolor");b.setAttribute("color",null!=a…
276setAttribute("c1",a);m.setAttribute("c2",b);m.setAttribute("x",this.format(c));m.setAttribute("y",…
277 …Color.apply(this,arguments)}var b=this.createElement("strokecolor");b.setAttribute("color",null!=a…
278 …Width.apply(this,arguments)}var b=this.createElement("strokewidth");b.setAttribute("width",this.fo…
279 …arguments)}var c=this.createElement("dashed");c.setAttribute("dashed",a?"1":"0");null!=b&&c.setAtt…
280setAttribute("pattern",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.setLineCap=function(a)…
281setAttribute("join",a);this.root.appendChild(b)};mxXmlCanvas2D.prototype.setMiterLimit=function(a)…
282 …ntColor.apply(this,arguments)}var b=this.createElement("fontcolor");b.setAttribute("color",null!=a…
283 …ply(this,arguments)}var b=this.createElement("fontbackgroundcolor");b.setAttribute("color",null!=a…
284 …r.apply(this,arguments)}var b=this.createElement("fontbordercolor");b.setAttribute("color",null!=a…
285 …FontSize.apply(this,arguments)}var b=this.createElement("fontsize");b.setAttribute("size",a);this.…
286 …Family.apply(this,arguments)}var b=this.createElement("fontfamily");b.setAttribute("family",a);thi…
287 …ntStyle.apply(this,arguments)}var b=this.createElement("fontstyle");b.setAttribute("style",a);this…
288 ….setShadow.apply(this,arguments)}var b=this.createElement("shadow");b.setAttribute("enabled",a?"1"…
289 …Color.apply(this,arguments)}var b=this.createElement("shadowcolor");b.setAttribute("color",null!=a…
290 …Alpha.apply(this,arguments)}var b=this.createElement("shadowalpha");b.setAttribute("alpha",a);this…
291 …this,arguments)}var c=this.createElement("shadowoffset");c.setAttribute("dx",a);c.setAttribute("dy…
292 …Element("rect");e.setAttribute("x",this.format(a));e.setAttribute("y",this.format(b));e.setAttribu…
293setAttribute("x",this.format(a));g.setAttribute("y",this.format(b));g.setAttribute("w",this.format…
294 …ment("ellipse");e.setAttribute("x",this.format(a));e.setAttribute("y",this.format(b));e.setAttribu…
295setAttribute("x",this.format(a));l.setAttribute("y",this.format(b));l.setAttribute("w",this.format…
296 …eTo=function(a,b){var c=this.createElement("move");c.setAttribute("x",this.format(a));c.setAttribu…
297setAttribute("x",this.format(a));c.setAttribute("y",this.format(b));this.root.appendChild(c);this.…
298setAttribute("x1",this.format(a));g.setAttribute("y1",this.format(b));g.setAttribute("x2",this.for…
299setAttribute("x",this.format(a));r.setAttribute("y",this.format(b));r.setAttribute("w",this.format…
300 m);null!=n&&r.setAttribute("clip",n?"1":"0");null!=p&&r.setAttribute("rotation",p);null!=q&&r.setAt…
305 …prototype.setCssText=function(a,b){mxClient.IS_IE||mxClient.IS_IE11?a.setAttribute("style",b):mxUt…
306 …s2D.prototype.createStyle=function(a){a=this.createElement("style");a.setAttribute("type","text/cs…
307 …s.NS_SVG,a);var c=this.root.ownerDocument.createElement(a);null!=b&&c.setAttribute("xmlns",b);retu…
308 …,g.setAttribute("x",Math.round(b+d.dx)),g.setAttribute("y",Math.round(c+d.dy+k*d.fontSize)),g.setA…
309setAttribute("font-size",Math.round(d.fontSize)+"px"),"start"!=e&&g.setAttribute("text-anchor",e),…
310 0<b.length&&g.setAttribute("text-decoration",b.join(" ")),mxUtils.write(g,a),g):null};
312 …"id"+ ++this.refCount;null==g&&(g=this.createSvgGradient(a,b,c,d,e),g.setAttribute("id",m),null!=t…
313setAttribute("x1","0%");f.setAttribute("y1","0%");f.setAttribute("x2","0%");f.setAttribute("y2","0…
314 …("stop");e.setAttribute("offset","0%");e.style.stopColor=a;e.style.stopOpacity=c;f.appendChild(e);…
315setAttribute("d",this.path.join(" "));else return;a&&null!=d.fillColor?this.updateFill():this.styl…
316setAttribute("transform",d.transform);this.pointerEvents?c.setAttribute("pointer-events",this.poin…
318setAttribute("fill-opacity",a.alpha*a.fillAlpha);if(null!=a.fillColor)if(null!=a.gradientColor&&a.…
319 b+"#"+a+")")}else this.node.setAttribute("fill","url(#"+a+")");else this.node.setAttribute("fill",S…
320setAttribute("stroke",String(a.strokeColor).toLowerCase());(1>a.alpha||1>a.strokeAlpha)&&this.node…
321setAttribute("stroke-linejoin",a.lineJoin);if(null!=a.lineCap){var b=a.lineCap;"flat"==b&&(b="butt…
323setAttribute("pointer-events","stroke");a.setAttribute("visibility","hidden");a.removeAttribute("s…
324setAttribute("fill",b.shadowColor);"none"!=a.getAttribute("stroke")&&a.setAttribute("stroke",b.sha…
325 …ocument.documentMode?c.setAttribute("xlink:href",a):c.setAttributeNS(mxConstants.NS_XLINK,"xlink:h…
327setAttribute("x",this.format((a+e.dx)*e.scale));f.setAttribute("y",this.format((b+e.dy)*e.scale));…
328setAttribute("rx",this.format(e*this.state.scale));0<f&&this.node.setAttribute("ry",this.format(f*…
329setAttribute("x",this.format(a*l.scale)+this.imageOffset);m.setAttribute("y",this.format(b*l.scale…
330setAttribute("preserveAspectRatio","none");(1>l.alpha||1>l.fillAlpha)&&m.setAttribute("opacity",l.…
336 …nObject");this.setCssText(u,"overflow: visible; text-align: left;");u.setAttribute("pointer-events…
337 p),null!=a&&(u.setAttribute("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility"),…
339 …le("+p+")":"");this.setCssText(q.firstChild,g);this.setCssText(q,f);q.setAttribute("data-drawio-co…
340setAttribute("width",Math.ceil(1/Math.min(1,p)*100)+"%");k.setAttribute("height",Math.ceil(1/Math.…
347 …is.foEnabled&&"html"==l){var r=this.createDiv(e);null!=r&&(null!=q&&r.setAttribute("dir",q),this.a…
348 …h");clip.setAttribute("id",g);e=this.createElement("rect");e.setAttribute("x",a);e.setAttribute("y…
349 …t||r.setAttribute("pointer-events","none");0!=n&&(t+="rotate("+n+","+this.format(a*k.scale)+","+th…
350 …nt!=document?r.setAttribute("clip-path","url(#"+n.getAttribute("id")+")"):(p=this.getBaseUrl().rep…
351setAttribute("text-anchor",n);this.styleEnabled&&q==mxConstants.DEFAULT_FONTSIZE||r.setAttribute("…
352 ….length&&(q=this.createElement("text"),q.setAttribute("x",this.format(a*k.scale)+this.textOffset),…
353setAttribute("fill",b.fontColor);this.styleEnabled&&b.fontFamily==mxConstants.DEFAULT_FONTFAMILY||…
354 …=mxConstants.FONT_STRIKETHROUGH&&c.push("line-through");0<c.length&&a.setAttribute("text-decoratio…
358setAttribute("fill",m.fontBackgroundColor||"none"),b.setAttribute("stroke",m.fontBorderColor||"non…
379 …=this.svgPointerEvents;var b=this.getSvgScreenOffset();0!=b?this.node.setAttribute("transform","tr…
389 …xShape(a,f,g,k,l));null!=m&&null!=a.state&&null!=a.state.transform&&m.setAttribute("transform",a.s…
408setAttribute("x",a);e.setAttribute("y",b);e.setAttribute("width",c);e.setAttribute("height",d);e.s…
483setAttribute("style",d);d=mxUtils.isNode(this.value)?this.value.outerHTML:this.getHtmlValue();null…
494 …s.TEXT_DIRECTION_LTR||b==mxConstants.TEXT_DIRECTION_RTL?a[a.length-1].setAttribute("dir",b):a[a.le…
508 a;this.node.style.borderColor=b;a=document.createElement("img");a.setAttribute("border","0");a.styl…
517 …ge){var a=document.createElement("img");a.style.position="relative";a.setAttribute("border","0");v…
778 …is.previous?this.cell.value.removeAttribute(this.attribute):this.cell.setAttribute(this.attribute,…
787 mxCell.prototype.setAttribute=function(a,b){var c=this.getValue();null!=c&&c.nodeType==mxConstants.… method in mxCell
824 …this.printBackgroundImage&&this.insertBackgroundImage(a,-D,-v)}),F);f.setAttribute("id","mxPage-"+…
829setAttribute("border","0");for(var e=c.createElement("tbody"),f=0;f<a;f++){for(var g=c.createEleme…
835 …awPane().parentNode;q.getAttribute("transform");q.setAttribute("transformOrigin","0 0");q.setAttri…
838 c.style.top=this.marginTop+"px",c.setAttribute("width",f.width),c.setAttribute("height",f.height),c…
840 …nTop=Math.round((c+d.y)*this.scale)+"px";e.setAttribute("width",Math.round(d.width*this.scale));e.
888 …s.TEXT_DIRECTION_LTR||d==mxConstants.TEXT_DIRECTION_RTL?this.textarea.setAttribute("dir",d):this.t…
1197 …s.dialect==mxConstants.DIALECT_SVG)if(0==a&&0==b){if(mxClient.IS_IE?c.setAttribute("transform","tr…
1198 …tNode.removeChild(this.shiftPreview2);this.shiftPreview2=null}}else{c.setAttribute("transform","tr…
1307 …verflow="visible";a.style.cursor="default";a.setAttribute("shape-rendering","optimizeSpeed");a.set…
1312 …his.container.appendChild(this.svg));var a=this.getViewBox();this.svg.setAttribute("viewBox",Math.…
1314 …te("stroke-width")||1);isNaN(c)||a.setAttribute("stroke-width",Math.max(mxClient.IS_IE11?4:1,c/(5*…
1316 …is.viewport.setAttribute("x",a.x);this.viewport.setAttribute("y",a.y);this.viewport.setAttribute("…
1317setAttribute("stroke-width",mxClient.IS_IE11?"12":"3");a.setAttribute("stroke",HoverIcons.prototyp…
1628 …ode,this.graph,this.state,null,null,null,b);mxClient.IS_TOUCH&&a.node.setAttribute("pointer-events…
1739 …ull!=d&&d.insertEdge(a,!1)};mxCodec.prototype.setAttribute=function(a,b,c){null!=b&&null!=c&&a.set… method in mxCodec
1742 …Encode(a,b,c)};mxObjectCodec.prototype.encodeObject=function(a,b,c){a.setAttribute(c,"id",a.getId(…
1744 …ild(a.document.createTextNode(d)):a.setAttribute(b,"value",d),e.appendChild(b)):"function"!=typeof…
1745 …omplexAttribute=function(a,b,c,d,e){a=a.encode(d);null!=a?(null!=c&&a.setAttribute("as",c),e.appen…
1755 …Node(a.document,c.value,!0);d.appendChild(b);a=b.getAttribute("id");d.setAttribute("id",a);b.remov…
1760 …ns(d)};a.afterEncode=function(a,c,d){this.isReference(c,"child",c.child,!0)?d.setAttribute("child",
1766setAttribute("label",c.graph.getLabel(d)),c.graph.isHtmlLabel(d)&&n.setAttribute("html",!0));if(nu…
1767setAttribute(p,g);g=f.absolutePoints;if(null!=g&&0<g.length){l=Math.round(g[0].x)+","+Math.round(g…
1769setAttribute("as",e);for(var k in f){var l=this.getStringValue(k,f[k]);if(null!=l){var m=a.documen…