• Home
  • Raw
  • Download

Lines Matching refs:node

2210   var node = new Object();
2211 node.children = Array();
2212 node.children_data = children_data;
2213 node.depth = mom.depth + 1;
2215 node.li = document.createElement("li");
2216 mom.get_children_ul().appendChild(node.li);
2218 node.label_div = document.createElement("div");
2219 node.label_div.className = "label";
2221 $(node.label_div).addClass("api");
2222 $(node.label_div).addClass("api-level-"+api_level);
2224 node.li.appendChild(node.label_div);
2227 node.expand_toggle = document.createElement("a");
2228 node.expand_toggle.href = "javascript:void(0)";
2229 node.expand_toggle.onclick = function() {
2230 if (node.expanded) {
2231 $(node.get_children_ul()).slideUp("fast");
2232 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2233 node.expanded = false;
2235 expand_node(me, node);
2238 node.label_div.appendChild(node.expand_toggle);
2240 node.plus_img = document.createElement("img");
2241 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2242 node.plus_img.className = "plus";
2243 node.plus_img.width = "8";
2244 node.plus_img.border = "0";
2245 node.expand_toggle.appendChild(node.plus_img);
2247 node.expanded = false;
2251 node.label_div.appendChild(a);
2252 node.label = document.createTextNode(text);
2253 a.appendChild(node.label);
2260 a.onclick = node.expand_toggle.onclick;
2264 node.expanded = false;
2269 node.children_ul = null;
2270 node.get_children_ul = function() {
2271 if (!node.children_ul) {
2272 node.children_ul = document.createElement("ul");
2273 node.children_ul.className = "children_ul";
2274 node.children_ul.style.display = "none";
2275 node.li.appendChild(node.children_ul);
2277 return node.children_ul;
2280 return node;
2286 function expand_node(me, node) argument
2288 if (node.children_data && !node.expanded) {
2289 if (node.children_visited) {
2290 $(node.get_children_ul()).slideDown("fast");
2292 get_node(me, node);
2293 if ($(node.label_div).hasClass("absent")) {
2294 $(node.get_children_ul()).addClass("absent");
2296 $(node.get_children_ul()).slideDown("fast");
2298 node.plus_img.src = me.toroot + "assets/images/triangle-opened-small.png";
2299 node.expanded = true;
2375 me.node = new Object();
2377 me.node.li = document.getElementById(navtree_id);
2378 me.node.children_data = root_nodes;
2379 me.node.children = new Array();
2380 me.node.children_ul = document.createElement("ul");
2381 me.node.get_children_ul = function() { return me.node.children_ul; };
2383 me.node.li.appendChild(me.node.children_ul);
2384 me.node.depth = 0;
2386 get_node(me, me.node);
2391 var mom = me.node;
2409 me.node = new Object();
2411 me.node.li = document.getElementById(navtree_id);
2412 me.node.children_data = root_nodes;
2413 me.node.children = new Array();
2414 me.node.children_ul = document.createElement("ul");
2415 me.node.get_children_ul = function() { return me.node.children_ul; };
2417 me.node.li.appendChild(me.node.children_ul);
2418 me.node.depth = 0;
2420 get_google_node(me, me.node);
2426 var node = new Object();
2428 node.children = Array();
2429 node.children_data = children_data;
2430 node.depth = mom.depth + 1;
2431 node.get_children_ul = function() {
2432 if (!node.children_ul) {
2433 node.children_ul = document.createElement("ul");
2434 node.children_ul.className = "tree-list-children";
2435 node.li.appendChild(node.children_ul);
2437 return node.children_ul;
2439 node.li = document.createElement("li");
2441 mom.get_children_ul().appendChild(node.li);
2454 node.li.className="nav-section";
2455 node.label_div = document.createElement("div");
2456 node.label_div.className = "nav-section-header-ref";
2457 node.li.appendChild(node.label_div);
2458 get_google_node(me, node);
2459 node.label_div.appendChild(child);
2462 node.li.appendChild(child);
2467 node.label = document.createTextNode(text);
2468 child.appendChild(node.label);
2470 node.children_ul = null;
2472 return node;