• Home
  • Raw
  • Download

Lines Matching refs:node

3013   var node = new Object();
3014 node.children = Array();
3015 node.children_data = children_data;
3016 node.depth = mom.depth + 1;
3018 node.li = document.createElement("li");
3019 mom.get_children_ul().appendChild(node.li);
3021 node.label_div = document.createElement("div");
3022 node.label_div.className = "label";
3024 $(node.label_div).addClass("api");
3025 $(node.label_div).addClass("api-level-"+api_level);
3027 node.li.appendChild(node.label_div);
3030 node.expand_toggle = document.createElement("a");
3031 node.expand_toggle.href = "javascript:void(0)";
3032 node.expand_toggle.onclick = function() {
3033 if (node.expanded) {
3034 $(node.get_children_ul()).slideUp("fast");
3035 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
3036 node.expanded = false;
3038 expand_node(me, node);
3041 node.label_div.appendChild(node.expand_toggle);
3043 node.plus_img = document.createElement("img");
3044 node.plus_img.src = me.toroot + "assets/images/triangle-closed-small.png";
3045 node.plus_img.className = "plus";
3046 node.plus_img.width = "8";
3047 node.plus_img.border = "0";
3048 node.expand_toggle.appendChild(node.plus_img);
3050 node.expanded = false;
3054 node.label_div.appendChild(a);
3055 node.label = document.createTextNode(text);
3056 a.appendChild(node.label);
3063 a.onclick = node.expand_toggle.onclick;
3067 node.expanded = false;
3072 node.children_ul = null;
3073 node.get_children_ul = function() {
3074 if (!node.children_ul) {
3075 node.children_ul = document.createElement("ul");
3076 node.children_ul.className = "children_ul";
3077 node.children_ul.style.display = "none";
3078 node.li.appendChild(node.children_ul);
3080 return node.children_ul;
3083 return node;
3089 function expand_node(me, node) argument
3091 if (node.children_data && !node.expanded) {
3092 if (node.children_visited) {
3093 $(node.get_children_ul()).slideDown("fast");
3095 get_node(me, node);
3096 if ($(node.label_div).hasClass("absent")) {
3097 $(node.get_children_ul()).addClass("absent");
3099 $(node.get_children_ul()).slideDown("fast");
3101 node.plus_img.src = me.toroot + "assets/images/triangle-opened-small.png";
3102 node.expanded = true;
3184 me.node = new Object();
3186 me.node.li = document.getElementById(navtree_id);
3187 me.node.children_data = root_nodes;
3188 me.node.children = new Array();
3189 me.node.children_ul = document.createElement("ul");
3190 me.node.get_children_ul = function() { return me.node.children_ul; };
3192 me.node.li.appendChild(me.node.children_ul);
3193 me.node.depth = 0;
3195 get_node(me, me.node);
3200 var mom = me.node;
3225 me.node = new Object();
3227 me.node.li = document.getElementById(navtree_id);
3228 if (!me.node.li) {
3232 me.node.children_data = root_nodes;
3233 me.node.children = new Array();
3234 me.node.children_ul = document.createElement("ul");
3235 me.node.get_children_ul = function() { return me.node.children_ul; };
3237 me.node.li.appendChild(me.node.children_ul);
3238 me.node.depth = 0;
3240 get_google_node(me, me.node);
3245 var node = new Object();
3247 node.children = Array();
3248 node.children_data = children_data;
3249 node.depth = mom.depth + 1;
3250 node.get_children_ul = function() {
3251 if (!node.children_ul) {
3252 node.children_ul = document.createElement("ul");
3253 node.children_ul.className = "tree-list-children";
3254 node.li.appendChild(node.children_ul);
3256 return node.children_ul;
3258 node.li = document.createElement("li");
3260 mom.get_children_ul().appendChild(node.li);
3273 node.li.className="nav-section";
3274 node.label_div = document.createElement("div");
3275 node.label_div.className = "nav-section-header-ref";
3276 node.li.appendChild(node.label_div);
3277 get_google_node(me, node);
3278 node.label_div.appendChild(child);
3281 node.li.appendChild(child);
3286 node.label = document.createTextNode(text);
3287 child.appendChild(node.label);
3289 node.children_ul = null;
3291 return node;