• Home
  • Raw
  • Download

Lines Matching refs:node

2937   var node = new Object();
2938 node.children = Array();
2939 node.children_data = children_data;
2940 node.depth = mom.depth + 1;
2942 node.li = document.createElement("li");
2943 mom.get_children_ul().appendChild(node.li);
2945 node.label_div = document.createElement("div");
2946 node.label_div.className = "label";
2948 $(node.label_div).addClass("api");
2949 $(node.label_div).addClass("api-level-"+api_level);
2951 node.li.appendChild(node.label_div);
2954 node.expand_toggle = document.createElement("a");
2955 node.expand_toggle.href = "javascript:void(0)";
2956 node.expand_toggle.onclick = function() {
2957 if (node.expanded) {
2958 $(node.get_children_ul()).slideUp("fast");
2959 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2960 node.expanded = false;
2962 expand_node(me, node);
2965 node.label_div.appendChild(node.expand_toggle);
2967 node.plus_img = document.createElement("img");
2968 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
2969 node.plus_img.className = "plus";
2970 node.plus_img.width = "8";
2971 node.plus_img.border = "0";
2972 node.expand_toggle.appendChild(node.plus_img);
2974 node.expanded = false;
2978 node.label_div.appendChild(a);
2979 node.label = document.createTextNode(text);
2980 a.appendChild(node.label);
2987 a.onclick = node.expand_toggle.onclick;
2991 node.expanded = false;
2996 node.children_ul = null;
2997 node.get_children_ul = function() {
2998 if (!node.children_ul) {
2999 node.children_ul = document.createElement("ul");
3000 node.children_ul.className = "children_ul";
3001 node.children_ul.style.display = "none";
3002 node.li.appendChild(node.children_ul);
3004 return node.children_ul;
3007 return node;
3013 function expand_node(me, node) argument
3015 if (node.children_data && !node.expanded) {
3016 if (node.children_visited) {
3017 $(node.get_children_ul()).slideDown("fast");
3019 get_node(me, node);
3020 if ($(node.label_div).hasClass("absent")) {
3021 $(node.get_children_ul()).addClass("absent");
3023 $(node.get_children_ul()).slideDown("fast");
3025 node.plus_img.src = me.toroot + "assets/images/triangle-opened-small.png";
3026 node.expanded = true;
3108 me.node = new Object();
3110 me.node.li = document.getElementById(navtree_id);
3111 me.node.children_data = root_nodes;
3112 me.node.children = new Array();
3113 me.node.children_ul = document.createElement("ul");
3114 me.node.get_children_ul = function() { return me.node.children_ul; };
3116 me.node.li.appendChild(me.node.children_ul);
3117 me.node.depth = 0;
3119 get_node(me, me.node);
3124 var mom = me.node;
3149 me.node = new Object();
3151 me.node.li = document.getElementById(navtree_id);
3152 if (!me.node.li) {
3156 me.node.children_data = root_nodes;
3157 me.node.children = new Array();
3158 me.node.children_ul = document.createElement("ul");
3159 me.node.get_children_ul = function() { return me.node.children_ul; };
3161 me.node.li.appendChild(me.node.children_ul);
3162 me.node.depth = 0;
3164 get_google_node(me, me.node);
3169 var node = new Object();
3171 node.children = Array();
3172 node.children_data = children_data;
3173 node.depth = mom.depth + 1;
3174 node.get_children_ul = function() {
3175 if (!node.children_ul) {
3176 node.children_ul = document.createElement("ul");
3177 node.children_ul.className = "tree-list-children";
3178 node.li.appendChild(node.children_ul);
3180 return node.children_ul;
3182 node.li = document.createElement("li");
3184 mom.get_children_ul().appendChild(node.li);
3197 node.li.className="nav-section";
3198 node.label_div = document.createElement("div");
3199 node.label_div.className = "nav-section-header-ref";
3200 node.li.appendChild(node.label_div);
3201 get_google_node(me, node);
3202 node.label_div.appendChild(child);
3205 node.li.appendChild(child);
3210 node.label = document.createTextNode(text);
3211 child.appendChild(node.label);
3213 node.children_ul = null;
3215 return node;