Lines Matching refs:node

159 				var node = dispatcher.activeNode;
160 …if(node instanceof gantt.$keyboardNavigation.TaskRow || node instanceof gantt.$keyboardNavigation.…
161 if (node.taskId == id) {
316 var node = dispatcher.activeNode;
317 if(node instanceof gantt.$keyboardNavigation.TaskCell){
318 columnIndex = node.columnIndex;
331 var node = dispatcher.activeNode;
333 node.taskId = newId;
449 var node;
452 node = new constructor(config.id, findVisibleColumnIndex(config.column));
455 node = new constructor(config.id);
458 node = new constructor(findVisibleColumnIndex(config.column));
465 if(node){
466 dispatcher.setActiveNode(node);
486 var node = dispatcher.getActiveNode();
487 var scope = getScopeName(node);
491 return {type:"taskCell", id:node.taskId, column:columns[node.columnIndex].name};
493 return {type:"taskRow", id:node.taskId};
495 return {type:"headerCell", column:columns[node.index].name};
820 var node;
822 node = new gantt.$keyboardNavigation.TaskCell();
824 node = new gantt.$keyboardNavigation.TaskRow();
827 if (!node.isValid()) {
828 node = node.fallback();
830 return node;
838 var node = this.activeNode;
839 if (node && !node.isValid()) {
840 node = node.fallback();
842 return node;
853 var node = inputs[i].prototype.fromDomElement(e);
854 if(node) return node;
1137 var node = document.activeElement;
1138 node.click();
1206 var node = this.getNode();
1207 if(!node)
1212 if(eventFacade.callEvent("onBeforeFocus", [node]) === false){
1216 if (node) {
1217 node.setAttribute("tabindex", "-1");
1218 if(!node.$eventAttached){
1219 node.$eventAttached = true;
1220 gantt.event(node, "focus",function(e){
1227 if (node.focus) node.focus();
1234 var node = this.getNode();
1235 if (node) {
1237 eventFacade.callEvent("onBlur", [node]);
1238 node.setAttribute("tabindex", "-1");
1284 var node = gantt.$keyboardNavigation.TaskRow.prototype.fallback.call(this);
1285 var result = node;
1286 if (node instanceof gantt.$keyboardNavigation.TaskRow) {
1295 result = new gantt.$keyboardNavigation.TaskCell(node.taskId, index);
1761 function isVisible(node){ argument
1765 var style = window.getComputedStyle(node, null);
1768 }else if(node.currentStyle){
1769 display = node.currentStyle["display"];
1770 visibility = node.currentStyle["visibility"];
1775 function hasNonNegativeTabIndex(node){ argument
1776 return !isNaN(node.getAttribute("tabindex")) && (node.getAttribute("tabindex")*1 >= 0);
1779 function hasHref(node){ argument
1781 if(canHaveHref[node.nodeName.loLowerCase()]){
1782 return !!node.getAttribute("href");
1787 function isEnabled(node){ argument
1789 if(canDisable[node.nodeName.toLowerCase()]){
1790 return !node.hasAttribute("disabled");
1813 var node = nodesArray[i];
1814 …var isValid = (hasNonNegativeTabIndex(node) || isEnabled(node) || hasHref(node)) && isVisible(nod…
1834 function getClassName(node){ argument
1835 if(!node) return "";
1837 var className = node.className || "";
1847 function addClassName(node, className){ argument
1848 if (className && node.className.indexOf(className) === -1) {
1849 node.className += " " + className;
1853 function removeClassName(node, name) { argument
1857 node.className = node.className.replace(regEx, "");
1869 function toNode(node) { argument
1870 if (typeof node === "string") {
1871 return (document.getElementById(node) || document.querySelector(node) || document.body);
1873 return node || document.body;
1877 function insert(node, newone) { argument
1880 node.appendChild(child);
1884 function remove(node) { argument
1885 if (node && node.parentNode) {
1886 node.parentNode.removeChild(node);
1890 function getChildren(node, css) { argument
1891 var ch = node.childNodes;
1965 function getRelativeEventPosition(ev, node){ argument
1967 var box = elementPosition(node);
1970 x: ev.clientX + d.scrollLeft - d.clientLeft - box.x + node.scrollLeft,
1971 y: ev.clientY + d.scrollTop - d.clientTop - box.y + node.scrollTop