Edit D:\app\Administrator\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\em\em\jsLibs\SVGTitledView.es
function SVGTitledView(element) { this.__superCtor__ = eval("SVGAbstractView") this.__superCtor__(element) this.__superCtor__ = null if (!element) return if (element.getAttribute("showTitle") == "true") { var list = this.svg.getElementsByTagName("title") var titleStr = list.item(0).firstChild.data var titleText = document.createElementNS(SVG_NS, "text") titleText.setAttribute("class", "titleText") titleText.setAttribute("x", "50%") titleText.setAttribute("text-anchor", "middle") titleText.appendChild(document.createTextNode(titleStr)) var bbox = titleText.getBBox() titleText.setAttribute("y", bbox.height+5) var title = document.createElementNS(SVG_NS, "rect") title.setAttribute("x", "0%") title.setAttribute("y", "0%") title.setAttribute("width", "100%") title.setAttribute("height", bbox.height + 12) title.setAttribute("class", "title") this.svg.appendChild(title) this.svg.appendChild(titleText) this.titleHeight = bbox.height + 12 } } SVGTitledView.prototype = new SVGAbstractView SVGAbstractView.prototype.getTitleHeight = function() { if (this.titleHeight) return this.titleHeight else return 0 }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de