Lines Matching refs:index
113 public void nodeInserted(Object node, Object child, int index) { in nodeInserted() argument
114 if(index < 0) { in nodeInserted()
115 index = getIndexOfChild(node, child); in nodeInserted()
117 if(node != null && child != null && index >= 0) { in nodeInserted()
119 int[] ai = { index }; in nodeInserted()
126 public void nodeRemoved(Object node, Object child, int index) { in nodeRemoved() argument
127 if(node != null && child != null && index >= 0) { in nodeRemoved()
129 int[] ai = { index }; in nodeRemoved()
232 int index = getIndexOfChild(parent, n); in setNodeVisible() local
233 nodeInserted(parent, n, index); in setNodeVisible()
236 int index = getIndexOfChild(parent, n); in setNodeVisible() local
238 nodeRemoved(parent, n, index); in setNodeVisible()
267 public Object getChild(Object parent, int index) { in getChild() argument
275 if(j == index) { in getChild()
300 int index = -1; in getIndexOfChild() local
305 index = 0; in getIndexOfChild()
309 return index; in getIndexOfChild()
312 index++; in getIndexOfChild()
317 return index; in getIndexOfChild()