Lines Matching defs:icon
13 function Node(id, pid, name, io, shc, icon, iconOpen, open) {
19 this.icon = icon;
31 this.icon = {
54 dTree.prototype.add = function(id, pid, name, io, shc, icon, iconOpen, open) {
55 this.aNodes[this.aNodes.length] = new Node(id, pid, name, io, shc, icon, iconOpen, open);
92 // Creates the node icon, url and text
96 if (!node.icon) node.icon = (this.root.id == node.pid) ? this.icon.root : this.icon.folder;
97 if (!node.iconOpen) node.iconOpen = this.icon.folderOpen ;
99 node.icon = this.icon.root;
100 node.iconOpen = this.icon.root;
102 str += '<img id="i' + this.obj + nodeId + '" src="' + ((node.io == '1') ? node.iconOpen : node.icon) + '" alt="" />';
133 str += '<img src="' + ( (this.aIndent[n] == 1) ? this.icon.line : this.icon.empty ) + '" alt="" />';
138 str += ( (node.io == '1') ? ((node._ls ) ? this.icon.minusBottom : this.icon.minus) : ((node._ls ) ? this.icon.plusBottom : this.icon.plus ) );
141 } else str += '<img id="j' + this.obj + nodeId + '" src="' + ((node._ls) ? this.icon.joinBottom : this.icon.join ) + '" alt="" />';